|
|
Gets the date component of the current date.
Syntax
| Smartsite SXML |
|
|---|---|
datetime datetime.getdate() datetime datetime.getdate(datetime dt) datetime datetime.getdate(integer year, integer month, integer day) datetime datetime.getdate(integer year, integer month, integer day, integer hour, integer minute, integer second) |
|
Parameters
| Name | Data Type | Description |
|---|---|---|
| dt | DateTime | A DateTime value. |
| year | Integer | The year to use. |
| month | Integer | The month to use. |
| day | Integer | The day to use. |
| hour | Integer | The hour to use. |
| minute | Integer | The minute to use. |
| second | Integer | The second to use. |
Return Value
| Data Type | Description |
|---|---|
| DateTime | A new DateTime value with the same date as the given value, and the time set to 00:00:00. |