[ic] UNIX timestamp

Caleb Phillips interchange-users@icdevgroup.org
Thu Sep 19 14:52:01 2002


On Thu, 2002-09-19 at 11:42, Michael Goldfarb wrote:
> >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]

or how about:

[perl]time[/perl]

> 
> 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
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users@icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
-- 
-------------------------------------------
| Caleb Phillips                          |
| The Studio Resource                     |
| IT Specialist                           |
|                                         |
| Handcrafted for you in Ximian Evolution |
-------------------------------------------