lucee.Componentcontentbox.models.util.DateUtil
ContentBox - A Modular Content Platform Copyright since 2012 by Ortus Solutions, Corp www.ortussolutions.com/products/contentbox --- Static date utility object
Method Summary | |
---|---|
any
|
epochToLocal([any epoch])
Convert epoch milliseconds into local time object. |
any
|
nowUTC()
Return now() in UTC. |
any
|
toUTC(any dateTime)
Conver the incoming date time to UTC using the dateTimeFormat() method. |
Methods inherited from class lucee.Component |
---|
None |
Method Detail |
---|
Convert epoch milliseconds into local time object.
epoch
- The epoch time in millisecondsReturn now() in UTC
Conver the incoming date time to UTC using the dateTimeFormat() method
dateTime
- The date time object/string to convert