Difference between revisions of "ObjectType:time"

From Lavish Software Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
== Members ==
 
== Members ==
*[[DataType:int|int]] Hour: Hour of the day (0-23)
+
*[[DataType:int|int]] '''Hour''': Hour of the day (0-23)
*[[DataType:int|int]] Minute: Minute of the hour (0-59)
+
*[[DataType:int|int]] '''Minute''': Minute of the hour (0-59)
*[[DataType:int|int]] Second: Second of the minute (0-59)
+
*[[DataType:int|int]] '''Second''': Second of the minute (0-59)
*[[DataType:int|int]] DayOfWeek: Day of the week (1-7)
+
*[[DataType:int|int]] '''DayOfWeek''': Day of the week (1-7)
*[[DataType:int|int]] Day: Day of the month (1-31 depending on the month)
+
*[[DataType:int|int]] '''Day''': Day of the month (1-31 depending on the month)
*[[DataType:int|int]] Month: Month of the year (1-12)
+
*[[DataType:int|int]] '''Month''': Month of the year (1-12)
*[[DataType:int|int]] Year: Year
+
*[[DataType:int|int]] '''Year''': Year
*[[DataType:string|string]] Time12: Time in hh:mm:ss given in 12-hour format
+
*[[DataType:string|string]] '''Time12''': Time in hh:mm:ss given in 12-hour format
*[[DataType:string|string]] Time24: Time in hh:mm:ss given in 24-hour format
+
*[[DataType:string|string]] '''Time24''': Time in hh:mm:ss given in 24-hour format
*[[DataType:string|string]] Date: Date in mm/dd/yyyy
+
*[[DataType:string|string]] '''Date''': Date in mm/dd/yyyy
*[[DataType:bool|bool]] Night: TRUE if current time is after 7pm and before 7am
+
*[[DataType:bool|bool]] '''Night''': TRUE if current time is after 7pm and before 7am
*[[DataType:int|int]] SecondsSinceMidnight: Number of seconds since midnight
+
*[[DataType:int|int]] '''SecondsSinceMidnight''': Number of seconds since midnight
  
 
== Methods ==
 
== Methods ==

Revision as of 18:10, 9 March 2005

Description

Members

  • int Hour: Hour of the day (0-23)
  • int Minute: Minute of the hour (0-59)
  • int Second: Second of the minute (0-59)
  • int DayOfWeek: Day of the week (1-7)
  • int Day: Day of the month (1-31 depending on the month)
  • int Month: Month of the year (1-12)
  • int Year: Year
  • string Time12: Time in hh:mm:ss given in 12-hour format
  • string Time24: Time in hh:mm:ss given in 24-hour format
  • string Date: Date in mm/dd/yyyy
  • bool Night: TRUE if current time is after 7pm and before 7am
  • int SecondsSinceMidnight: Number of seconds since midnight

Methods

Returns

Same as Time24

Examples

See Also