This function evaluates the specified TimeStamp value and returns only the date.
Parameter
a - A TimeStamp value.
Return value
The return value is a date.
Example
If the current date is Oct. 17, 1999 and the current time is 12:27:15, the return value of the following statement is 10/17/99.
DateTimeToDate(CurrentDateTime())
This function evaluates the specified value and converts the time to the number of seconds from 00:00:00 to the specified time.
Parameter
a - A TimeStamp value.
Return value
The return value is an Integer.
Example
If the current date is Oct. 17, 1999 and the current time is 12:27:15, the return value of the following statement is 44835.
DateTimeToSeconds(CurrentDateTime())
This function evaluates the specified TimeStamp value and returns only the time.
Parameter
a - A TimeStamp value.
Return value
The return value is a Time.
Example
If the current date is Oct. 17, 1999 and the current time is 12:27:15, the return value of the following statement is 12:27:15.
DateTimeToTime(CurrentDateTime())