How to get DateTime? | developer.brewmp.com How to get DateTime? | developer.brewmp.com

Developer

How to get DateTime?

Forums:

How do I get the Date Time?  I see there is a data type AEEDateTime, what is the easiest way to populate that data structure?  Please be specific in how to implement anything required to support this function.  Thanks.

u can use GETJULIANDATE() to get JulianType. JulianType is very similar to AEEDateTime.
JulianType pDate;
uint32 dwSecs = GETTIMESECONDS();
GETJULIANDATE(dwSecs, &pDate);
 

u can use GETJULIANDATE() to get JulianType. JulianType is very similar to AEEDateTime.
JulianType pDate;
uint32 dwSecs = GETTIMESECONDS();
GETJULIANDATE(dwSecs, &pDate);
 

This looks like it should work very well.  Thanks.

This looks like it should work very well.  Thanks.