nwfast Posted January 27, 2005 Share Posted January 27, 2005 On my "My Account" page, I've made several additions -- 2 of which being the date and time when the account was created and the date and time when the account was last modified. Currently, the date and time are displayed as YYYY-DD-MM HH:MM:SS. How can I change the format of the date to be more user friendly? Also, I would like to be able to add the following: You joined (STORE_NAME) xx days ago, with xx being the amount of days since they created their account. I know that their are php functions capable of accomplishing this -- does anyone have any suggestions? Link to comment Share on other sites More sharing options...
nwfast Posted January 29, 2005 Author Share Posted January 29, 2005 On my "My Account" page, I've made several additions -- 2 of which being the date and time when the account was created and the date and time when the account was last modified. Currently, the date and time are displayed as YYYY-DD-MM HH:MM:SS. How can I change the format of the date to be more user friendly? Also, I would like to be able to add the following: You joined (STORE_NAME) xx days ago, with xx being the amount of days since they created their account. I know that their are php functions capable of accomplishing this -- does anyone have any suggestions? <{POST_SNAPBACK}> Aha. Here's what you've gotta do: $date_last_modified must be equal to something similar to this: $date_last_modified=$account_info['customers_info_date_account_last_modified']; <?php echo tep_date_long($date_last_modified); ?> Voila Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.