Date functions
dateFormat
: Date format
Arguments:
format
: Format parameters is one of:full
: Sunday, September 8, 2013 at 4:19:12 PM Central European Summer Timelong
: September 8, 2013 at 4:19:12 PM CESTmedium
: Sep 8, 2013, 4:19:12 PMshort
: 9/8/13, 4:19 PMiso
: 2013-09-08T16:19:12.000000+02:00iso_sec
: 2013-09-08T16:19:12+02:00sql
: 2013-09-08 16:19:12.000000sql_seq
: 2013-09-08 16:19:12iso_date_time
: 2013-09-08T16:19:12+02:00Europe/Parisiso_date
: 2013-09-08+02:00iso_time
: 16:19:12+02:00iso_local_date
: 2013-09-08iso_instant
: 2013-09-08T14:19:12Ziso_local_date_time
: 2013-09-08T16:19:12iso_local_time
: 16:19:12iso_offset_time
: 16:19:12+02:00iso_ordinal_date
: 2013-251+02:00iso_week_date
: 2013-W36-7+02:00iso_zoned_date_time
: 2013-09-08T16:19:12+02:00Europe/Parisrfc_1123_date_time
: Sun, 8 Sep 2013 16:19:12 +0200pattern
: a date pattern.- Otherwise, the default formatter
iso
will be used. The format option can be specified as a parameter or hash (a.k.a named parameter). - You can pass the any format from SimpleDateFormat
timezeome
: with the formatEurope/Paris
now
: Current date
Arguments:
format
: Same format asdateFormat
timezone
: with the formatEurope/Paris
timestamp
: Current second timestamp
nanotimestamp
: Current nano timestamp
microtimestamp
: Current micro timestamp
dateAdd
: Add some units to date
quantity
: an integer value positive or negativeformat
: Format parameters is one of:NANOS
MICROS
MILLIS
SECONDS
MINUTES
HOURS
HALF_DAYS
DAYS
WEEKS
MONTHS
YEARS
DECADES
CENTURIES
MILLENNIA
ERAS