|
|
|
|
|
Time and date management properties
The following properties are used to manage dates and times:
| | Date | The Date property is used to:- Retrieve the date from a DateTime variable.
- Modify the date in a DateTime variable.
- Retrieve the date from a Date item (in "Date and Time" format) .
- Modify the date in a Date item (in "Date and Time" format)
| Day | The Day property is used to:- Get the day from a Date or DateTime variable, or get the number of days from a Duration variable.
- Change the day of a Date or DateTime variable, or change the number of days of a Duration variable.
- Get the day or the number of days from a Date item (in "Date", "Date and Time" or "Duration" format)
- Modify the day or the number of days in a Date item (in "Date", "Date and Time" or "Duration" format)
| Hour | The Hour property is used to:- Get the time from a variable of type Time or DateTime, or the number of hours from a variable of type Duration.
- Change the time in a variable of type Time or DateTime, or the number of hours in a variable of type Duration.
- Retrieve the time or the number of hours from a Date item (in "Date and time" or "Duration" format) or from a Time item.
- Modify the time or the number of hours in a Date item (in "Date and time" or "Duration" format) or in a Time item.
| InDays | The InDays property is used to convert a Duration variable to days. | InHours | The InHours property is used to convert a Duration variable to hours. | InMilliseconds | The InMilliseconds property is used to convert a Duration variable to milliseconds. | InMinutes | The InMinutes property is used to convert a Duration variable to minutes. | InSeconds | The InSeconds property is used to convert a Duration variable to seconds. | Millisecond | The Millisecond property is used to:- Retrieve the number of milliseconds from a Time, DateTime or Duration variable.
- Modify the number of milliseconds in a Time, DateTime or Duration variable.
- Retrieve the milliseconds or the number of milliseconds from a Date item (in "Date and Time" or "Duration" format)
- Modify the milliseconds or number of milliseconds in a Date item ("Date and Time" or "Duration" format)
| Minute | The Minute property is used to:- Retrieve the minutes from a Time or DateTime variable, or the number of minutes from a Duration.
- Change the minutes in a Time or DateTime variable, or the number of minutes in a Duration.
- Retrieve the minutes or the number of minutes from a Date item (in "Date and Time" or "Duration" format) or from a Time item.
- Modify the minutes or the number of minutes in a Date item (in "Date and Time" or "Duration" format) or in a Time item.
| Month | The Month property is used to:- Retrieve the month from a Date or DateTime variable.
- Modify the month in a Date or DateTime variable.
- Retrieve the month from a Date item (in "Simple date" or "Date and Time" format)
- Modify the month in a Date item (in "Simple Date" or "Date and Time" format)
| Second | The Second property is used to:- Retrieve the number of seconds from a Time, DateTime or Duration variable.
- Modify the number of seconds in a Time, DateTime or Duration variable.
- Retrieve the seconds or the number of seconds from a Date item (in "Date and Time" or "Duration" format)
- Modify the seconds or the number of seconds in a Date item (in "Date and Time" or "Duration" format)
| Time | The Time property enables you to:- Retrieve the time from a DateTime variable.
- Modify the time in a DateTime variable.
- Retrieve the time from in a Date item (in "Date and Time" format)
- Modify the time in a Date item ("Date and Time" format).
| Year | The Year property is used to: |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|