Load
Loads a specified time.
Overload 1 Parameters
| Parameter Name | Parameter Type | Parameter Description |
|---|---|---|
| year | int | The target year |
| month | int | The target month |
| day | int | The target day |
Overload 2 Parameters
| Parameter Name | Parameter Type | Parameter Description |
|---|---|---|
| year | int | The target year |
| month | int | The target month |
| day | int | The target day |
| hour | int | The target hour |
| minute | int | The target minute |
| second | int | The target second |
Overload 3 Parameters
| Parameter Name | Parameter Type | Parameter Description |
|---|---|---|
| year | int | The target year |
| month | int | The target month |
| day | int | The target day |
| hour | int | The target hour |
| minute | int | The target minute |
| second | int | The target second |
| milisecond | int | The target millisecond |
Overload 4 Parameters
| Parameter Name | Parameter Type | Parameter Description |
|---|---|---|
| u | Time | The Time to convert to UTC Time |
The following example Loads the Date January 1st, 2012
JavaScript
let time = new UtcTime()
time.Load(2012, 1, 1)
Lua
local time = UtcTime()
time.Load(2012, 1, 1)