LCDatetime Properties Summary
The following table summarizes LCDatetime properties.
Property |
Description |
---|---|
LCDatetime.Minute |
Long. Minute (0-59), or -1 if the object contains a date only. |
LCDatetime.Second |
Long. Second (0-59), or -1 if the object contains a date only. |
LCDatetime.Hundredth |
Long. Hundredths of second (0-99), or -1 if the object contains a date only. |
LCDatetime.Day |
Long. Day of month (1-31), or -1 if the object contains a time only. |
LCDatetime.Hour |
Long. Hour (0-23), or -1 if the object contains a date only. |
LCDatetime.Month |
Long. Month (1-12), or -1 if the object contains a time only. |
LCDatetime.Year |
Long. Integer indicating the year (1-32767), or -1 if the object contains a time only. |
LCDatetime.Weekday |
Long, read-only. Integer indicating the day of the week (1-7, Sunday = 1), or -1 if the object contains a time only. |
LCDatetime.Zone |
Long. Integer indicating the time zone (-12 to 12). Note: While Zone is a writeable property, assigning the
Zone property does not change the Hour to the corresponding time in
the new zone. If you want this done, you must do it yourself. |
LCDatetime.DST |
Boolean. Indicates whether Daylight Savings Time is in effect. |
LCDatetime.Ticks |
Long. Tick count representing hundredths of a second since midnight. Returns -1 if the object contains a date only. |
LCDatetime.Julian |
Long. Integer representing the Julian date by indicating the number of days since January 1, 4713 BC. If the object contains a time value only, returns -1. |
LCDatetime.Text |
String representation. The date and time will be expressed using the local datetime settings of the computer executing the code. For example, U.S. computers will typically list the month number first, while Europe will list the day of the month first. Zone and DST information are not included in this output. If the time is in a different zone, the value is displayed in the time of that zone, not the corresponding local time. |
LCDatetime.Value |
LotusScript® Variant containing a datetime. The value is returned in the time zone specified by the Zone property (not the user's local time). Note: The LotusScript® variant does
not contain information about time zone and Daylight Savings Time.
To copy a value from one LCDatetime to another without losing information,
use the LCDatetime.Copy method. |