4/3/2023 0 Comments Format int as timer counter![]() ![]() HighResolutionTicksToSeconds ( int64 ticks) noexceptĬonverts a number of high-resolution ticks into seconds. Returns the resolution of the high-resolution counter in ticks per second. GetHighResolutionTicksPerSecond () noexcept Returns the current high-resolution counter's tick-count. Less-accurate but faster version of getMillisecondCounter(). GetApproximateMillisecondCounter () noexcept Waits until the getMillisecondCounter() reaches a given value. WaitForMillisecondCounter ( uint32 targetTime) noexcept Returns the number of millisecs since a fixed event (usually system startup). GetMonthName (int monthNumber, bool threeLetterVersion) GetWeekdayName (int dayNumber, bool threeLetterVersion) Parses an ISO-8601 string and returns it as a Time. Returns a Time object that is set to the current system time. Operator-= ( RelativeTime delta) noexcept Operator+= ( RelativeTime delta) noexcept Returns a fully described string of this date and time in ISO-8601 format (using the local timezone). ToISO8601 (bool includeDividerCharacters) const Returns a string version of this date and time, using this machine's local timezone.Ĭonverts this date/time to a string with a user-defined format. ToString (bool includeDate, bool includeTime, bool includeSeconds=true, bool use24HourClock=false) const Returns a string to indicate the offset of the local timezone from UTC. GetUTCOffsetString (bool includeDividerCharacters) const Returns the local timezone offset from UTC in seconds. Returns a 3-character string to indicate the local timezone. Returns true if the local timezone uses a daylight saving correction. Returns the number of milliseconds, 0 to 999. Returns the number of minutes, 0 to 59 (in this machine's local timezone). Returns the hours in 12-hour clock format (in this machine's local timezone). Returns true if the time is in the afternoon (in this machine's local timezone). Returns the number of hours since midnight (in this machine's local timezone). Returns the name of the weekday (in this machine's local timezone). GetWeekdayName (bool threeLetterVersion) const Returns the number of the day of the year (in this machine's local timezone). Returns the number of the day of the week (in this machine's local timezone). Returns the day of the month (in this machine's local timezone). Returns the name of the month (in this machine's local timezone). GetMonthName (bool threeLetterVersion) const Returns the number of the month (in this machine's local timezone). Returns the year (in this machine's local timezone). Returns the time as a number of milliseconds. Time (int year, int month, int day, int hours, int minutes, int seconds=0, int milliseconds=0, bool useLocalTime=true) noexceptĬreates a time from a set of date components. Time ( int64 millisecondsSinceEpoch) noexceptĬreates a time based on a number of milliseconds.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |