Time
Time gets current time information for the server or client. When Time is instantiated, that's when the Date is captured.
Instance Methods
| Method Name | Return Type | Description |
|---|---|---|
| Load | void | Loads a specific time |
| Is24HourClock | bool | Checks if the machine is using a 24hr clock |
| GetDayOfWeek | string | Returns the current day in the week |
| GetMonthName | string | Returns the current month name |
| GetAMPM | string | Returns if it is AM or PM as a string |
| GetMilliseconds | int | Returns the Milliseconds of the current Time |
| GetSeconds | int | Returns the seconds of the current Time |
| GetMinutes | int | Returns the minutes of the current Time |
| GetHours | int | Returns the hours of the current Time |
| GetDay | int | Returns the day in the month of the current Time |
| GetMonth | int | Returns the month of the current Time |
| GetYear | int | Returns the year of the current Time |