Hi
Is it possible to change the date format for customer last logon, so that it shows full date with accurate time?
For example instead of:
30/07/2012
To show like this:
30/07/2012, 21:28:45
Latest News: (loading..)
Customer logon date
Started by al3ks, Jul 30 2012 08:28 PM
5 replies to this topic
#1
Posted 30 July 2012 - 08:28 PM
Find this post helpful? Click the 'Like this' button. :)
#2
Posted 30 July 2012 - 08:53 PM
#4
Posted 30 July 2012 - 10:13 PM
Be nice to go a step further, have a new column added so that along side their last name, first name, and date the account created, you would have the last logon date (and time) and be able to sort through them that way.
#5
Posted 31 July 2012 - 12:01 AM
al3ks, on 30 July 2012 - 09:27 PM, said:
/admin/customers.php
Find:
$contents[] = array('text' => '<br />' . TEXT_INFO_DATE_LAST_LOGON . ' ' . tep_date_short($cInfo->date_last_logon));
Change to
$contents[] = array('text' => '<br />' . TEXT_INFO_DATE_LAST_LOGON . ' ' . date("d/m/Y G:i:s", strtotime( $cInfo->date_last_logon ) ));
Sorry for the way the forum mucks it up...
Edited by germ, 31 July 2012 - 12:02 AM.
If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >
"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."
- Me -
"Headers already sent" - The definitive help
"Cannot redeclare ..." - How to find/fix it
SSL Implementation Help
Like this post? "Like" it again over there >









