Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [anup123] How Do I Do Users Join Time Conversion

Quote Reply
Re: [anup123] How Do I Do Users Join Time Conversion In reply to
What do you need this timestamp for? If you just want to use the timestamp in templates, then you can just convert it using GT::Date. You would use something like:
Code:
<%GT::Date::date_get($users_join_time)%>
By default, it will output the date in yyyy-mm-dd format. If you want to change the format then the following should work:
Code:
<%GT::Date::date_set_format("format goes here")%><%GT::Date::date_get($users_join_time)%>
The formats are described at the top of the file admin/GT/Date.pm and also in the admin => Setup => Dates.

Adrian
Subject Author Views Date
Thread How Do I Do Users Join Time Conversion anup123 3593 Jul 6, 2002, 12:42 AM
Thread Re: [anup123] How Do I Do Users Join Time Conversion
brewt 3484 Jul 6, 2002, 2:26 PM
Post Re: [brewt] How Do I Do Users Join Time Conversion
anup123 3477 Jul 6, 2002, 3:11 PM
Thread Re: [brewt] How Do I Do Users Join Time Conversion
anup123 3460 Jul 7, 2002, 10:05 AM
Thread Re: [anup123] How Do I Do Users Join Time Conversion
brewt 3452 Jul 10, 2002, 7:56 PM
Post Re: [brewt] How Do I Do Users Join Time Conversion
anup123 3457 Jul 10, 2002, 8:15 PM
Post Re: [brewt] How Do I Do Users Join Time Conversion
anup123 3444 Jul 10, 2002, 11:08 PM