[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] UNIX timestamp
Quoting Michael Goldfarb (mikeg@contactdesigns.com):
> >Hello,
> >
> >I'm interfacing phpBB user database with an established IC userdb. I
> need
> >to be able to update a field called "user_regdate" with an INT style
> UNIX
> >timestamp from within IC. In PHP you just do this: time(). In IC, the
> >[time] tag doesn't seem to have a raw unix timestamp option. How can I
> get
> >a UNIX "seconds from 1970" style timestamp in IC?
> >
> >Thanks,
> >
> >Russell
>
> I have used this:
> [data session time]
>
> I think that is what you are looking for.
>
> This is covered at the bottom of this page:
> http://www.icdevgroup.org/cgi-bin/ic/docfly.html?mv_arg=ictags04%2e17
There is also the non-portable [time]%s[/time], which doesn't work
in Solaris but does in Linux.
--
Mike Heins
Perusion -- Expert Interchange Consulting http://www.perusion.com/
phone +1.513.523.7621 <mike@perusion.com>
Nature, to be commanded, must be obeyed. -- Francis Bacon