Timestamp
ODBC Timestamp holder
Operations
- New
- GetDay
- GetFraction
- GetHours
- GetMinutes
- GetMonth
- GetSeconds
- GetYear
- SetDay
- SetHours
- SetMinutes
- SetMonth
- SetSeconds
- SetYear
- ToDate
- ToString
GetFraction
Gets the fraction of seconds
method : public : GetFraction() ~ Int
Return
Type | Description |
---|---|
Int | fraction of seconds |
New
Copy constructor for System.Time.Date
New(date:System.Time.Date)
Parameters
Name | Type | Description |
---|---|---|
date | System.Time.Date | System.Time.Date |
SetHours
Sets the hours
method : public : SetHours(hours:Int) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
hours | Int | hours |
SetMinutes
Sets the minutes
method : public : SetMinutes(minute:Int) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
minute | Int | minutes |
SetMonth
Sets the month
method : public : SetMonth(month:Int) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
month | Int | value |
SetSeconds
Sets the seconds
method : public : SetSeconds(second:Int) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
second | Int | seconds |
SetYear
Sets the year
method : public : SetYear(year:Int) ~ Nil
Parameters
Name | Type | Description |
---|---|---|
year | Int | value |
ToDate
Converts a timestamp into a system date
method : public : ToDate() ~ System.Time.Date
Return
Type | Description |
---|---|
System.Time.Date | system date |
ToString
Creates a string representation of the timestamp
method : public : ToString() ~ String
Return
Type | Description |
---|---|
String | string representation of the timestamp |