Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adjusting Time display


decapper

Recommended Posts

Hi,

 

I have tried searching this forum but come up blank on this topic.

 

I would like to have the date and time that is displayed on my website http://www.pricelessweddings.com.au set to my local area.. Also the admin time would be good. Could someone please advise me as I'm not very good with php.

 

Thank you

Link to comment
Share on other sites

Hi,

 

I have tried searching this forum but come up blank on this topic.

 

I would like to have the date and time that is displayed on my website http://www.pricelessweddings.com.au set to my local area.. Also the admin time would be good. Could someone please advise me as I'm not very good with php.

 

Thank you

Did you look in the contributions, server timezone offset or something similar

Link to comment
Share on other sites

You already have the date in the footer, to add the time find this code in /includes/footer.php

 

	<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>

change it to:

 

	<td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?> <?php echo strftime('%H:%M:%S'); ?> </td>

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 >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...