GlideTime

Property/MethodDescription
getByFormatGets the time in the given time format
getDisplayValueGets the time in the user's display format and time zone
getDisplayValueInternalGets the display value in the user's time zone and the internal format.
getHourLocalTimeReturns hour part of local time 0-11
getHourOfDayLocalTimeReturns hour-of-the-day part of local time 0-23
getHourOfDayUTCReturns the hour-of-the-day part of UTC time 0-23
getHourUTCReturns hour part of UTC time 0-11
getMinutesLocalTimeReturns minutes part of local time
getMinutesUTCReturns minutes part of UTC time
getSecondsReturns seconds part of time
getValueGets the time value stored in the database in the internal format, HH:mm:ss, and UTC
setDisplayValueSets a time value using current user's display format and time zone
setValueSets the time of the GlideTime object in the internal time zone (glide.sys.internal.tz) or UTC
subtractGets the duration difference between two GlideTime values