Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
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
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Operations with timestamps
Papad
Hello,
I want to generate a new binominal column in my dataset. The formula I want to give is :
when I substract two timestamps and the result is 10 seconds then put 0, else put 1.
Generally, I want my feedback every 10 seconds so if a next timestamp is after a different time , there is a problem which I have to see. So how could I do it?
Thanks in advance.
Find more posts tagged with
AI Studio
Auto Model
Accepted answers
sgenzer
hi
@Papad
you can do this with Generate Attributes using the date_diff() function. It takes two timestamp attributes and calculates the difference between them in milliseconds. Just divide by 10000 and that should work for you.
Scott
All comments
sgenzer
hi
@Papad
you can do this with Generate Attributes using the date_diff() function. It takes two timestamp attributes and calculates the difference between them in milliseconds. Just divide by 10000 and that should work for you.
Scott
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups