Changing Date & Time Formats

I can't figure out where to change the date and time formats for this script. Does anyone know?

Currently the time shows as  "14:10" - which I wish would be "2:10pm" instead

 and the date is "30.07.2010" - which I would prefer to be 7/30/2010 (or similar)

Is there a setting somewhere where I can change this?

Quote · 1 Aug 2010

http://www.demozzz.com/admindemo/administration/help.html

Don't ask how I know about that file.

You can change the formatting from administration, settings, advanced settings, variables.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Aug 2010

 

http://www.demozzz.com/admindemo/administration/help.html

 

Don't ask how I know about that file.

 

You can change the formatting from administration, settings, advanced settings, variables.

 Just what I was looking for.

Thanks again Magnussoft!

Quote · 1 Aug 2010

I should have known that this would open up a fresh can-o-worms.


The time/date functions that are provided at the link only work properly when removing the percent sign (%). If the percent sign isn't removed it will appear in the string that is printed out on the web page. (e.g. "%7/%31/%2010")

Worse, some functions don't work at all. "%p" and "%P" are supposed to show the "AM" "PM" indication (in small or large caps), but they don't. Instead, it renders "%p" on the page when using "%p" - and "%-05:00" when using "%P"

I don't know if this is a bug, or if the Dolphin script is altering these to use something else.

Anyone know????

 

Quote · 1 Aug 2010

I should have known that this would open up a fresh can-o-worms.


The time/date functions that are provided at the link only work properly when removing the percent sign (%). If the percent sign isn't removed it will appear in the string that is printed out on the web page. (e.g. "%7/%31/%2010")

Worse, some functions don't work at all. "%p" and "%P" are supposed to show the "AM" "PM" indication (in small or large caps), but they don't. Instead, it renders "%p" on the page when using "%p" - and "%-05:00" when using "%P"

I don't know if this is a bug, or if the Dolphin script is altering these to use something else.

Anyone know????

It seems that file is a remnant from Dolphin 6.1. I should have known, since they haven't really cleaned everything up. Try this: http://php.net/manual/en/function.date.php

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 1 Aug 2010

That worked! Thank you so much : )

Now I have to wonder about why the % signs act so funny when the strings are changed.

There are database strings in that same section with percent signs. I hope that isn't messing things up somehow.

Quote · 1 Aug 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.