DATE(1plan9)
β¨ DATE(1plan9) β¨
okay bestie, welcome to the Plan 9 manual, section 1 π
this is the page for date and it's literally the whole vibe of "what time is it" but make it Unix. no cap. π°οΈ
πΈ NAME πΈ
date β date and time, babe. that's it. that's the whole job. π
π¦ SYNOPSIS π¦
date [ option ] [ seconds ]
π DESCRIPTION π
so like, date prints the date. and it prints it in this format, exactly:
Tue Aug 16 17:03:52 CDT 1977
iconic format tbh. no notes. β¨
the options are:
-uβ report Greenwich Mean Time (GMT) instead of your local time. traveling era π-nβ report the date as the number of seconds since the epoch, which is00:00:00 GMT, January 1, 1970. that's the big bang of Unix time fr fr π₯
the conversion from Greenwich Mean Time to local time depends on the $timezone environment variable β go read ctime(3) if you want the tea on that one π
and if the optional argument seconds is there? it gets used as the time to convert instead of the real time. so you can time travel (kind of) π§
not me using date just to feel something π
π SOURCE π
---
okay that's the page π«Ά this was the <rainbow>DATE(1plan9)</rainbow> manual page β section 1, Plan 9, and the source lives at `/src/cmd/date.c`. slay, go check the time. βπ
π¦ where this page comes from
- debian bookworm: 9base 1:6-13 Β· Lucent
- debian trixie: 9base 1:6-14 Β· Lucent
- ubuntu jammy: 9base 1:6-11 Β· Lucent
- ubuntu noble: 9base 1:6-14 Β· Lucent
- ubuntu questing: 9base 1:6-15
- ubuntu resolute: 9base 1:6-15build1 Β· Lucent
- ubuntu stonking: 9base 1:6-15build1 Β· Lucent
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms