The date and time class provides date and time members.
More...
#include <murl_system_time.h>
The date and time class provides date and time members.
◆ DateTime() [1/2]
Murl::System::DateTime::DateTime |
( |
| ) |
|
The default constructor.
All members are initialized to zero.
◆ DateTime() [2/2]
Murl::System::DateTime::DateTime |
( |
const Time & |
time | ) |
|
Constructor taking a time object.
- Parameters
-
time | The number of seconds since 00:00 hours, Jan 1, 1970 UTC. |
◆ GetNow()
static DateTime Murl::System::DateTime::GetNow |
( |
| ) |
|
|
static |
Get the date and time from now.
- Returns
- The DateTime object containing the date and time from now.
◆ ToString()
String Murl::System::DateTime::ToString |
( |
| ) |
const |
Get the string representation of the object.
- Returns
- The string representation of the object.
◆ mHour
UInt32 Murl::System::DateTime::mHour |
The hours since midnight in range [0 . . 23].
◆ mMinute
UInt32 Murl::System::DateTime::mMinute |
The minutes after the hour in range [0 . . 59].
◆ mSecond
UInt32 Murl::System::DateTime::mSecond |
The seconds after the minute in range [0 . . 59].
◆ mYear
SInt32 Murl::System::DateTime::mYear |
◆ mMonth
UInt32 Murl::System::DateTime::mMonth |
The month in range [1 . . 12].
◆ mDay
UInt32 Murl::System::DateTime::mDay |
The day in range [1 . . 31].
◆ mDayOfWeek
UInt32 Murl::System::DateTime::mDayOfWeek |
The day of week in range [0 . . 6] == [Monday . . Sunday].
◆ mDayOfYear
UInt32 Murl::System::DateTime::mDayOfYear |
The day of year in range [0 . . 365].
The documentation for this class was generated from the following file: