JDATE(1)
πΈ NAME πΈ
okay so bestie, meet jdate β she shows you the Jalali date π (it's the jdate manual page, and yes she's iconic)
β¨ SYNOPSIS β¨
jdate [arRuhV]... [+OUTPUT_FORMAT][d INPUT_FORMAT;DATE_STRING]
π DESCRIPTION π
She displays the current date and time in whatever FORMAT you hand her. No cap.
π OPTIONS π
-d,--date=FORMAT;STRINGβ shows the time described bySTRING, notnow. (like, you pick the moment, not her π°οΈ)-a,--access=FILEβ shows the last access time ofFILE.-r,--reference=FILEβ shows the last modification time ofFILE.-j,--jalali=%Y/%m/%dβ converts a gregorian date to jalali β¨-g,--gregorian=%Y/%m/%dβ converts a jalali date to gregorian.-R,--rfc-2822β outputs date and time in RFC 2822 format. Example:Jom, 06 Khor 1390 13:44:56 -0430.-u,--utc,--universalβ prints Coordinated Universal Time.-h,--helpβ displays this help and exits. (she's helpful like that π«Ά)-V,--versionβ outputs version information and exits.
π FORMAT π
FORMAT controls the output, bestie. These are the interpreted sequences β learn them, they're the whole vibe:
%%β a literal%%aβ abbreviated weekday name (e.g.,Sun)%Aβ full weekday name (e.g.,Sunday)%bβ abbreviated month name (e.g.,Khor)%Bβ full month name (e.g.,Khordad)%cβ date and time (e.g.,Jome Kho 6 17:18:25 1390)%Cβ century; like%Y, except omit last two digits (e.g.,13)%dβ day of month (e.g.,01)%Dβ date; same as%Y/%m/%d%eβ day of month, space padded; same as%_d%Eβ date and time in Farsi. (utf8)%Fβ full date; same as%Y-%m-%d%hβ abbreviated Farsi weekday name in English transliteration (e.g.Jom)%qβ full Farsi weekday name in English transliteration (e.g.Jomeh)%gβ abbreviated Farsi weekday name. (utf8)%Gβ full Farsi weekday name. (utf8)%vβ abbreviated Farsi month name. (utf8)%Vβ full Farsi month name. (utf8)%Hβ hour (00..23)%Iβ hour (01..12)%jβ day of year (001..366)%kβ hour (0..23)%lβ hour (1..12)%mβ month (01..12)%Mβ minute (00..59)%nβ a newline%Oβ AM or PM notation for time in Farsi. (utf8)%pβ eitherAMorPM; blank if not known%Pβ like%p, but lower case%rβ 12-hour clock time (e.g.,17:24:04 PM)%Rβ 24-hour hour and minute; same as%H:%M%sβ seconds since1970-01-01 00:00:00 UTC%Sβ second (00..59)%tβ a tab%Tβ time; same as%H:%M:%S%uβ day of week (1..7); 1 is Saturday%Uβ week number of year, with Saturday as first day of week (00..53)%wβ day of week (0..6); 0 is Saturday%Wβ date representation in Farsi. (utf8)%xβ date representation (e.g.,06/03/90)%Xβ time representation in Farsi. (utf8)%yβ last two digits of year (00..99)%Yβ year%zβ+hhmmnumeric time zone (e.g.,+0330)%Zβ alphabetic time zone abbreviation (e.g.,IRST)
π¦ EXAMPLES π¦
watch her work, she ate fr fr:
jdate -uR
formats current UTC date and time in RFC2822 format.
jdate '+%Y-%m-%d %H:%M:%S'
formats current local date and time in the above format. e.g. 1390-03-06 21:12:17
jdate --access=foo.bar
displays last access time for file foo.bar
jdate '+%s' --date='%Y/%m/%d-%H:%M:%S;1390/03/06-21:14:17'
displays seconds since epoch (UTC) for local date specified by date string.
π AUTHOR π
Written by Ashkan Ghassemi. <ghassemi@ftml.net>
π REPORTING BUGS π
Report jdate bugs to <ghassemi@ftml.net>
libjalali home page: <http://savannah.nongnu.org/projects/jcal/>
π SEE ALSO π
jcal(1), jctime(3), jstrftime(3), jstrptime(3)
π COPYRIGHT π
Copyright (C) 2011 Ashkan Ghassemi.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
ngl bestie, read that NO WARRANTY part twice. it's giving "she's free, she's yours, but she is not liable" π
okay that's the whole page!! this was the jdate page, from the jdate corner of the world, dated Khordad 6, 1390 β thanks for reading the whole thing, ily, mwah πβ¨π¦π
π¦ where this page comes from
- debian trixie: jcal 0.5.1-0.2
- ubuntu questing: jcal 0.5.1-0.2
- ubuntu resolute: jcal 0.5.1-0.2build1
- ubuntu stonking: jcal 0.5.1-0.2build1
- Copyright (C) 2006, 2007, 2009, 2010, 2011 Ashkan Ghassemi
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms