Skip to content

WxWidgets:Date

The functions in this section deal with getting the current time and sleeping for the specified time interval.

Functions

wxGetTimeZone
Returns the difference between UTC and local time in seconds.
wxGetLocalTime
Returns the number of seconds since local time 00:00:00 Jan 1st 1970.
wxGetLocalTimeMillis
Returns the number of milliseconds since local time 00:00:00 Jan 1st 1970.
wxGetUTCTime
Returns the number of seconds since GMT 00:00:00 Jan 1st 1970.
wxGetUTCTimeMillis
Returns the number of milliseconds since GMT 00:00:00 Jan 1st 1970.
wxGetUTCTimeUSec
Returns the number of microseconds since GMT 00:00:00 Jan 1st 1970.

Sleep

wxMicroSleep
Sleeps for the specified number of microseconds.
wxMilliSleep
Sleeps for the specified number of milliseconds.
wxNow
Returns a string representing the current date and time.
wxSleep
Sleeps for the specified number of seconds.
wxUsleep
Sleep millisec.

Favorite site