sip-date(1)

πŸ“¦
version 1.12.11+20110422.1+1e14eea Β· 4 versions
, in ubuntu noble, ubuntu questing

🌸 sip-date(1) β€” General Commands Manual 🌸

okay bestie, welcome to the sip-date page, straight outta the General Commands Manual section, no cap πŸ’…


✨ NAME ✨

sip-date β€” print or parse a SIP date πŸ—“οΈπŸ’–


✨ SYNOPSIS ✨

sip-date [-n] [SIP-date | [YYYYy] [DDd] [HHh] [MMm] [SS[s]]]

like… look at that little grammar. iconic. no notes. πŸ‘‘


✨ DESCRIPTION ✨

so sip-date is the lil utility that either prints a SIP date or parses one you hand it, and honestly it ate πŸ“

when it prints, the format is the one specified by RFC 1123 β€” BUT plot twist, the timezone must always be GMT. no switching up on us. GMT only. periodt. 🌍

and when you're the one feeding it a date, you got two vibes to choose from:

  • just pass it a SIP date, plain and simple πŸ’Œ
  • or give the pieces separately: year, day, hour, minutes and seconds, each in its own lil slot 🧩

either way it's giving "I know what time it is" energy fr fr ✨


✨ OPTIONS ✨

the utility takes options like this, bestie:

  • -n β€” prints the date as seconds elapsed since epoch, where epoch is 01 Jan 1900 00:00:00 ⏳πŸ”₯

that's the whole list. one option, zero crumbs, maximum slay πŸ’…


✨ EXAMPLES ✨

Scenario one: you wanna convert the current time to a SIP date πŸ•°οΈβœ¨

$ sip-date

boom. done. main character behaviour.


Scenario two: you wanna find out how many seconds there were in the 1900's πŸ‘€

$ siptime -n 2000y
3155673600
not me noticing the manpage literally writes siptime in that example and not sip-date πŸ™ˆ we are keeping it character for character because facts are facts and we do not edit the source material. iykyk πŸ’€

✨ REPORTING BUGS ✨

found a bug? spill the tea to sofia-sip-devel@lists.sourceforge.net πŸ›πŸ’Œ they wanna know, fr.


✨ AUTHOR ✨

Pekka Pessi <Pekka -dot- Pessi -at- nokia -dot- com> πŸ‘‘ (yes the email is written in that whole spelled-out style, we're keeping it exactly like that, no decoding, no guessing 🫢)


Copyright (C) 2005 Nokia Corporation. 🌈

this program is free software; see the source for copying conditions. and bestie, listen: there is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. like, none. zero. nada. do not come for them if it breaks πŸ˜­πŸ’€


and that's the whole page!! πŸŽ€ this was sofia-sip-utils, Version 1.12.11devel, and yeah it's the sip-date(1) page β€” mwah, go parse some dates bestie, you got this πŸ’–βœ¨πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from