how to create a time-function
Retrieves the current system date and time in UTC format. GetSystemTimeAdjustment. Determines whether the system is applying periodic time adjustments to its time-of-day clock. GetTimeFormat. Formats a system time as a time string for a specified locale.