1
johntrot
Time & date format
  • 2005/5/9 1:57

  • johntrot

  • Just popping in

  • Posts: 56

  • Since: 2005/4/7 2


How do I globally change the date and time format to reflect month/day/yr format, and the time hr:min:sec

2
smdcom
Re: Time & date format

take a look at this FAQ:

How do I change dates and time formats ?

[size=x-small]Edited to fix link - Dave_L[/size]

3
johntrot
Re: Time & date format
  • 2005/5/13 4:18

  • johntrot

  • Just popping in

  • Posts: 56

  • Since: 2005/4/7 2


Your redirect to the page does not work. Perhaps you could give me another hint.

I have searched the forums until I'm blue in the face and no search has turned up anything to do with global date and time formats.


Thanks

4
gehtdoch
Re: Time & date format
  • 2005/5/13 9:15

  • gehtdoch

  • Just popping in

  • Posts: 9

  • Since: 2005/2/2 1



5
johntrot
Re: Time & date format
  • 2005/5/17 1:31

  • johntrot

  • Just popping in

  • Posts: 56

  • Since: 2005/4/7 2


Thanks a million...
I appreciate your link and help

6
otr222
Re: Time & date format
  • 2005/6/15 18:30

  • otr222

  • Not too shy to talk

  • Posts: 124

  • Since: 2005/5/13


How about if one wanted to change the date format in a module.
Such as mylinks. The above solution doesn't seem to apply to a module. Is it possible and how would this be done?

thanks

7
Dave_L
Re: Time & date format
  • 2005/6/15 19:40

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


If a module uses the standard XOOPS mechanism for displaying date/times, the previously FAQ applies. Otherwise, you'd have to look at the module's code to see how it displays date/times.

I found the call formatTimestamp($time,"m") in modules/mylinks/index.php (XOOPS 2.0.10), which displays a date/time using the _MEDIUMDATESTRING format. Perhaps there are other places in the module where it doesn't use the values from language/-/global.php.

8
otr222
Re: Time & date format
  • 2005/6/15 22:52

  • otr222

  • Not too shy to talk

  • Posts: 124

  • Since: 2005/5/13


ThankYou Dave, It's like fitting the pieces of a puzzle together.

Login

Who's Online

242 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 242


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits