Function: Date and Time

KeywordDescriptionSymbol / Usage
_sunriseCalculate sunrise, sunset, and daylight. Send results in array._SunRise( [ [date_args,] lat[deg] [,long[deg] ] ] )
ageReturns difference in seconds between specified and current timeAge( [date_args] )
cdateConverts arguments to a date/time and returns date partCdate( [date_args] )
cdatexConverts arguments to a date/time and returns date and timeCdatex( [date_args] )
cdowName of the day of the week of specified dateCdow( [date_args] )
clockReturns process duration of DICOM since startup in secondsClock( )
cmonthName of the month of specified dateCmonth( [date_args] )
cphaseName of the phase of the moon at the specified dateCphase( [date_args] )
ctimeConverts arguments to a date/time and returns time partCtime( [date_args] )
dayDay of the month of the specified dateDay( [date_args] )
daynumReturns day of the year (1-365/366) for the specified dateDayNum( [date_args] )
dayserialReturns day serial of the specified date since 01-01-01DaySerial( [date_args] )
dmsConverts plane angle in seconds to degrees, minutes, and secondsDms( pl_angle[sc] )
dowDay of the week of specified date (0-Sunday, 6-Saturday)Dow( [date_args] )
dowisoISO Day of the week of specified date (0-Monday, 6-Sunday)DowISO( [date_args] )
easterReturns date of Easter of the specified yearEaster( [year[int]] )
gmtReturns GMT based on system date and timeGmt( )
hmsConverts no. of seconds to hours, minutes, and secondsHms( seconds[s] )
isdateCheck whether a date is valid or notIsDate( [date_args] )
isleapCheck whether a year is leapyear or not, returns 1 (true) or 0IsLeap( [year[int]] )
monthMonth no. (1-12) of the specified dateMonth( [date_args] )
moonageReturns the age of the moon (0-29) at the specified dateMoonAge( [date_args] )
moonphaseReturns the phase of the moon (0-7, 0-new moon, 4-full moon)MoonPhase( [date_args] )
nowReturns system date and timeNow( )
secondSeconds elapsed since 01-01-01 00:00 local and specified timeSecond( [date_args] )
second70Number of seconds elapsed since Jan 01, 1970 00:00 hour GMTSecond70( )
sunriseCompute sunrise, sunset, and daylight and print the resultsSunRise( [ [date_args,] lat[deg] [,long[deg] ] ])
sysdateReturns system dateSysDate( )
systimeReturns system timeSysTime( )
todayAlias of SysDate( ). Returns system date.Today( )
weeknumReturns week of the year (1-52) for the specified dateWeekNum( [date_args] )
weeknumisoReturns ISO week of the year (0-52) for the specified dateWeekNumISO( )
yearYear of the specified dateYear( [date_args] )
ymdConverts no. of days to years, months, and daysYmd( days[d] )