formZ SDK | 5.0 API Reference | System | Runtime Library (FZRT) | Utility

# fzrt_get_date_time

Description

Gets the current time. This will get the current time in seconds since a predefined time. The predefined time is dependent, so this value should not be stored in a cross-platform setting.
Macintosh uses January 1, 1904
Windows uses January 1, 1970

Plugin Prototype

fzrt_error_td fzrt_get_date_time(

fzrt_unsigned_int * | date_time )

Parameters

date_time [Result]

pointer to fzrt_unsigned_int that receives the current time in seconds

Returns

FZRT_NOERR if successful, error ID otherwise

Availability

5.0.0.0

Function Set

fz_fzrt_util_fset

Defined in

fzrt_api.h