EasyLanguage Object Reference

DateTime Class

Defines the structure for an object that provides information about the system date and time.  

Namespace: elsystem

[ Expand All ]
Properties
  Name Type Description
Public property CurrentTime object Gets current time of day only.
Public property Day integer Gets and sets the day portion of the object's date.
Public property ELDate integer Gets and sets the date in legacy EasyLanguage format (YYYMMDD, where YYY is years since 1900, MM is the month, and DD is the day of the month).
Public property ELDateTimeEx double Gets and sets the date and time in legacy EasyLanguage format.
Public property ELTime integer Gets and sets the time in legacy EasyLanguage format (HHMM, where HH is the hours since midnight and MM is the minutes within the hour).
Public property Hour integer Gets and sets the hour portion of the time.
Public property Minute integer Gets and sets the minute portion of the object's time.
Public property Month integer Gets and sets the month portion of the object's date.
Public property Now object Gets the current date and time of object's day.
Public property Second integer Gets and sets the seconds portion of the object's time.
Public property Today object Gets the current date only.
Public property Value string Gets and sets the current date and time as a string.  Equivalent to ToString() when getting a date/time and Parse() when setting a date/time.
Public property Year integer Gets and sets the year portion of the object's date.
Methods
Operators
Format Codes (used with the Format method)
Inheritance Hierarchy