Author Topic: Change the time format from hh:mm:ss to mm:ss  (Read 3137 times)

0 Members and 1 Guest are viewing this topic.

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Change the time format from hh:mm:ss to mm:ss
« on: December 22, 2008, 05:34:03 PM »
Hi,

How can I change the time format of a 4images fiels from hh:mm:ss to mm:ss.

I can do it with the explode, but I want an easier way.

Any tip please? Is explde the only way to reach what I want?

Many thanks in advance,


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Change the time format from hh:mm:ss to mm:ss
« Reply #1 on: December 23, 2008, 02:52:57 AM »
in the settings: "Format of time"
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Sun Zaza

  • Sr. Member
  • ****
  • Posts: 399
    • View Profile
Re: Change the time format from hh:mm:ss to mm:ss
« Reply #2 on: December 23, 2008, 09:37:57 AM »
Actually I want to use that only for the time of an additional field (Not for the hole gallery). I solved it with using EXPLODE & IMPLODE in includes/functions.php.

Thanks anyway for you help.