Print or parse sip date
sip-date [-n] [SIP-date | [YYYYy] [DDd] [HHh] [MMm] [SS[s]]]
sip-date is an utility for printing a SIP date (in the format specified by RFC 1123, but the timezone must always be GMT) or parsing a given SIP date. The date can be given as a SIP date or by giving year, day, hour, minutes and seconds separately.
The sip-date utility takes options as follows:
The sip-date utility prints the date as seconds elapsed since epoch (01 Jan 1900 00:00:00).
You want to convert current time to SIP date:
* $ sip-date *
You want to find out how many seconds there was in 1900's:
* $ siptime -n 2000y * 3155673600 *
Report bugs to [email protected].
Pekka Pessi <Pekka -dot- Pessi -at- nokia -dot- com>
Copyright (C) 2005 Nokia Corporation.
This program is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.