Top | ![]() |
![]() |
![]() |
![]() |
Time handlingTime handling — [DEPRECATED] Helper functions to convert between Epoch time and Mac (iPod) time |
time_t | itdb_time_get_mac_time () |
time_t | itdb_time_mac_to_host () |
time_t | itdb_time_host_to_mac () |
The functions provide conversion between Epoch time and Mac (iPod) time.
time_t
itdb_time_get_mac_time (void
);
itdb_time_get_mac_time
is deprecated and should not be used in newly-written code.
kept for compatibility with older code, directly use
g_get_current_time()
or time(NULL) instead
Gets the current time in a format appropriate for storing in the libgpod data structures
time_t
itdb_time_mac_to_host (time_t time
);
itdb_time_mac_to_host
is deprecated and should not be used in newly-written code.
It's been kept for compatibility with older code, but this function is now a no-op
Converts a timestamp from libgpod format to host system timestamp.