Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
Explore Siemens Communities
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Home
Discussions
Community Q&A
Sysntaxis Error on Expression Date_diff and Time_diff
Oktii
date_diff(`M1 Inicio`, `M1 Final`, DATE_UNIT_HOUR, "America/Mexico_City"
)
Find more posts tagged with
AI Studio
Accepted answers
BalazsBaranyRM
Hi!
You need to call date_diff like this:
date_diff([M1 Inicio], [M1 Final], ...)
The attribute names can't be quoted with the single quotes you're using, only with [].
You can click attribute names in the list on the right side, they will be inserted correctly by Generate Attributes.
Regards,
Balázs
All comments
Oktii
I tray differnt formats a on this expession without sucess
BalazsBaranyRM
Hi!
You need to call date_diff like this:
date_diff([M1 Inicio], [M1 Final], ...)
The attribute names can't be quoted with the single quotes you're using, only with [].
You can click attribute names in the list on the right side, they will be inserted correctly by Generate Attributes.
Regards,
Balázs
Oktii
thanks
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups