Section contents
ce32base.oxh
<TBS>
this& =
NewDateTime&:(year%,month%,day%,hour%,minutes%,seconds%,microsecond%)
Creates a date and time object and returns a handle which allows the object to be manipulated.
year% |
The year |
month% |
The month |
day% |
The day |
hour% |
The hour |
minute% |
The minute |
second% |
The second |
microsecond% |
The microsecond |
this& |
An value which represents the created date and time |
If the object could not be created then an error is generated
which should be trapped by an ONERR
handler.
LOCAL this& this& = NewDateTime&: DeleteDateTime:(this&)
DeleteDateTime:(this&)
Destroys the date and time object.
this& |
A handle to a date and time object |
LOCAL this& this& = NewDateTime&: DeleteDateTime:(this&)
day% = DateTimeDay%:(this&)
Get the day.
this& |
A handle to a date and time object |
day% |
The day |
hour% = DateTimeHour%:(this&)
Get the hour.
this& |
A handle to a date and time object |
hour% |
The hour |
microsecond% = DateTimeMicroSecond%:(this&)
Get the microsecond.
this& |
A handle to a date and time object |
microsecond% |
The microsecond |
minute% = DateTimeMinute%:(this&)
Get the minute.
this& |
A handle to a date and time object |
minute% |
The minute |
month% = DateTimeMonth%:(this&)
Get the month.
this& |
A handle to a date and time object |
month% |
The month |
second% = DateTimeSecond%:(this&)
Get the second.
this& |
A handle to a date and time object |
second% |
The second |
err% =
DateTimeSet%:(this&,year%,month%,day%,hour%,minutes%,seconds%,microsecond%)
Get the second.
this& |
A handle to a date and time object |
year% |
The year |
month% |
The month |
day% |
The day |
hour% |
The hour |
minute% |
The minute |
second% |
The second |
microsecond% |
The microsecond |
err% |
An error code |
err% = DateTimeSetDay%:(this&,day%)
Set the day.
this& |
A handle to a date and time object |
day% |
The day |
err% |
An error code |
err% = DateTimeSetHour%:(this&,hour%)
Set the hour.
this& |
A handle to a date and time object |
hour% |
The hour |
err% |
An error code |
err% = DateTimeSetMicroSecond%:(this&,microsecond%)
Set the microsecond.
this& |
A handle to a date and time object |
microsecond% |
The microsecond |
err% |
An error code |
err% = DateTimeSetMinute%:(this&,minute%)
Set the minute.
this& |
A handle to a date and time object |
minute% |
The minute |
err% |
An error code |
err% = DateTimeSetMonth%:(this&,month%)
Set the month.
this& |
A handle to a date and time object |
month% |
The month |
err% |
An error code |
err% = DateTimeSetSecond%:(this&,second%)
Set the second.
this& |
A handle to a date and time object |
second% |
The second |
err% |
An error code |
err% = DateTimeSetYear%:(this&,year%)
Set the year.
this& |
A handle to a date and time object |
year% |
The year |
err% |
An error code |
err% = DateTimeSetYearLeapCheck%:(this&,year%)
Set the year, checking for a leap year.
this& |
A handle to a date and time object |
year% |
The year |
err% |
An error code |