DM_DATE(1)
π dm_date β the date command but make it Date::Manip π
okay bestie so real talk: this is the <rainbow>dm_date</rainbow> manual page, and she's giving unix date command, but with the Date::Manip glow-up. same energy, different engine, no cap. π«Ά
β¨ SYNOPSIS β¨
she does the exact same thing the unix date command does, except she's running on the Date::Manip module underneath. same job, fancier internals, periodt.
dm_date [OPTION]... [+FORMAT]
πΈ DESCRIPTION πΈ
dm_date shows you the tea about the current system time... or literally any other time you wanna ask about, because she's flexible like that. π
here's the whole option menu, no skips, no crumbs left behind:
-h,--helpβ prints the online help. that's it, that's the whole vibe. π-d STRING,--date=STRINGβ shows the time described by STRING. and bestie, STRING can be any string thatDate::Manipcan parse β she's not picky. for the deets, go read theDate::Manip::Datedocumentation. π-f DATEFILE,--file=DATEFILEβ reads every line in DATEFILE, pulls a date out of each one, and prints out the info. super chill about what she skips, too:- blank lines? ignored. π¦
- lines starting with a pound (
#)? ignored. π - lines that don't contain a valid date? also ignored, no judgement. π
-r FILE,--reference=FILEβ shows you the last modification time of FILE. like checking when your bestie last texted, but for files. π-R,--rfc-2822β displays the date and time in RFC 2822 format. fancy formal fit, but cute:- example:
Mon, 07 Aug 2006 12:34:56 -0600
- example:
-u,--utc,--universalβ converts the date to UT (GMT) and prints out the info. timezone-hopping, main character energy. π
okay so important: only ONE of-d,-f, or-rshould be included at a time. if you go feral and pass more than one, she uses the first one from that list (-d,-f,-r, in that order) and ignores the rest. pick a lane bestie. π
and about the format string: it starts with a plus (+) and contains any of the format directives described in Date::Manip::Date. that's where the customization lives. β¨
π«Ά KNOWN BUGS π«Ά
none known. she's flawless. not a single one. πβ¨
π BUGS AND QUESTIONS π
got beef? got questions? wanna submit a bug report? please refer to the Date::Manip::Problems documentation for the info on how to submit bug reports or questions to the author. she's got a whole system for it, respect the system. πΈ
π SEE ALSO π
Date::Manip::Date
π LICENSE π
this script is free software; you can redistribute it and/or modify it under the same terms as Perl itself. free as in freedom, slay. π
π AUTHOR π
Sullivan Beck (https://github.com/SBECK-github/)
and that's the whole page bestie!! this one shipped as part of perl v5.42.3, dated 2026-09-01 β so if you're reading this, hi from the future, hope your dates all parse on the first try. mwah. π¦πβ¨
π¦ where this page comes from
- fedora 43: perl-Date-Manip 7.00-1.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- fedora 44: perl-Date-Manip 7.00-1.fc44 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms