sip-date(1) General Commands Manual sip-date(1)

sip-date - 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 sofia-sip-devel@lists.sourceforge.net.

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.

Version 1.12.11devel sofia-sip-utils