ADD | Addition two DateTime date-object |
DATE | Gets date values. |
DATETIMENEW | DATETIME object constructor. |
DAY | Gets day value. |
HOUR | Gets hour value. |
MIN | Gets minutes value. |
MONTH | Gets month value. |
MSEC | Gets millisecundes value. |
NORMALIZE | Normalize object DATETIME. |
SEC | Gets secundes value. |
SUB | Subtraction two DateTime date-object |
TIME | Gets the string in time format. |
YEAR | Gets year value. |
Add(<oDt>) --> <oDateTime>
Add() addes <oDt> to DDATETIME-data and returns some one witch increased data. New DATETIME-data is't normalize.
Date() --> <dData>
Date() converts DATETIME data value to normal calendar date and returns it as date values.
DateTimeNew([<nYear>,[<nMonth>,[<nDay>,[<nHour>[,<nMin>[,<nSec>[,<nMsec>]]]]]]]) --> DATETIME object
DateTimeNew() is constructs and returns new DATETIME object. That class can be used to control date and time values.
If some parameters not specified then date set to zero-date.
Attention! Object contain not normalized date.
<nYear> | - Numeric, contain years value |
<nMonth> | - Numeric, contain months value |
<nDay> | - Numeric, contain days value |
<nHour> | - Numeric, contain hours value |
<nMin> | - Numeric, contain minutes value |
<nSec> | - Numeric, contain secundes value |
<nMsec> | - Numeric, contain millisecundes value |
Returns : | Method returns new DATETIME object. |
Day() --> <nDay>
Day() returns day of the specified <Data> as numeric value. Not normalized.
Hour() --> <nHour>
Hour() returns hour of the specified <Data> as numeric value. Not normalized.
Min() --> <nMin>
Min() returns minutes of the specified <Data> as numeric value. Not normalized.
Month() --> <nMonth>
Month() returns month of the specified <Data> as numeric value. Not normalized.
Msec() --> <nMsec>
Msec() returns millisecundes of the specified <Data> as numeric value. Not normalized.
Normalize() --> <oDateTime>
Normalize() converts DATETIME-data to normal calendar date and returns some one object.
Sec() --> <nSec>
Sec() returns secundes of the specified <Data> as numeric value. Not normalized.
Sub(<oDt>) --> <oDateTime>
Sub() subtracts <oDt> from DATETIME-data and returns some one witch decreased data. New DATETIME-data is't normalize. </para>
Time() --> <sTime>
Time() returns the normalized time value of the specified <Data> as string value in the format <hh:mm:ss:ms> or returns "00:00:00:00" if DateTime object contained zero-date. When <hh> is two-digit hours value, <mm> is two-digit minutes value, <ss> is two-digit secundes value and <ms> is two-digit milisecundes value.