Syntax
VM_RESULT vm_time_get_unix_time(
    VMUINT* unix_time
);
ContentsIndex
PreviousUpNext
vm_time_get_unix_time
Example
Syntax
VM_RESULT vm_time_get_unix_time(
    VMUINT* unix_time
);
Description

Gets the time since the epoch in second.(00:00:00 UTC, January 1, 1970)

Parameters
Parameters 
Description 
rtc_time 
[OUT] the RTC time(real-time clock) in seconds. 
Returns

If the return value is greater than or equal to 0, it means success; any 

other value means fail.

Example
 ret_val = vm_time_get_unix_time(&rtc_time);
File

vmdatetime.h

Group
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.