Scroll to navigation

JDATE(1) User Commands JDATE(1)


jdate - manual page for jdate




Display the current date and time in the given FORMAT.

display time described by STRING, not `now'
display the last access time of FILE.
display the last modification time of FILE.
converts a gregorian date to jalali.
converts a jalali date to gregorian.
output date and time in RFC 2822 format. Example: Jom, 06 Khor 1390 13:44:56 -0430.
print Coordinated Universal Time.
display this help and exit.
output version information and exit.
Interpreted sequences are:
a literal %
abbreviated weekday name (e.g., Sun)
full weekday name (e.g., Sunday)
abbreviated month name (e.g., Khor)
full month name (e.g., Khordad)
date and time (e.g., Jome Kho 6 17:18:25 1390)
century; like %Y, except omit last two digits (e.g., 13)
day of month (e.g., 01)
date; same as %Y/%m/%d
day of month, space padded; same as %_d
date and time in Farsi. (utf8)
full date; same as %Y-%m-%d
abbreviated Farsi weekday name in English transliteration (e.g. Jom)
full Farsi weekday name in English transliteration (e.g. Jomeh)
abbreviated Farsi weekday name. (utf8)
full Farsi weekday name. (utf8)
abbreviated Farsi month name. (utf8)
full Farsi month name. (utf8)
hour (00..23)
hour (01..12)
day of year (001..366)
hour (0..23)
hour (1..12)
month (01..12)
minute (00..59)
a newline
AM or PM notation for time in Farsi. (utf8)
either AM or PM; blank if not known
like %p, but lower case
12-hour clock time (e.g., 17:24:04 PM)
24-hour hour and minute; same as %H:%M
seconds since 1970-01-01 00:00:00 UTC
second (00..59)
a tab
time; same as %H:%M:%S
day of week (1..7); 1 is Saturday
week number of year, with Saturday as first day of week (00..53)
day of week (0..6); 0 is Saturday
date representation in Farsi. (utf8)
date representation (e.g., 06/03/90)
time representation in Farsi. (utf8)
last two digits of year (00..99)
+hhmm numeric time zone (e.g., +0330)
alphabetic time zone abbreviation (e.g., IRST)


formats current UTC date and time in RFC2822 format.
formats current local date and time in the above format. e.g. 1390-03-06 21:12:17
displays last access time for file
displays seconds since epoch (UTC) for local date specified by date string.


Written by Ashkan Ghassemi. <>


Report jdate bugs to <>

libjalali home page: <>


jcal(1), jctime(3), jstrftime(3), jstrptime(3)


Copyright (C) 2011 Ashkan Ghassemi.

License GPLv3+: GNU GPL version 3 or later <>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

Khordad 6, 1390 jdate