News:

Create A Forum Installed

Author Topic: How do I change the time from 12.00 format to 24.00 format?  (Read 788 times)

0 Members and 1 Guest are viewing this topic.

Offline Kingdark

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter First Post Level 1
How do I change the time from 12.00 format to 24.00 format?
« on: September 14, 2018, 11:01:20 pm »
Never mind, I already figured it out. Please delete this question.
« Last Edit: September 14, 2018, 11:09:07 pm by Kingdark »

Share on Facebook Share on Twitter


Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: How do I change the time from 12.00 format to 24.00 format?
« Reply #1 on: September 14, 2018, 11:09:11 pm »
Admin -> Features and Options -> Default time format


It uses php date rules found at http://php.net/manual/en/function.date.php
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/
Useful Useful x 1 View List

Offline Kingdark

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile

Badges: (View All)
Topic Starter First Post Level 1
Re: How do I change the time from 12.00 format to 24.00 format?
« Reply #2 on: September 14, 2018, 11:11:12 pm »
Thank you for the information, and so quickly too, but this topic may be removed. Thanks again!

Offline vallee

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Level 3 Second year Anniversary One year Anniversary
Re: How do I change the time from 12.00 format to 24.00 format?
« Reply #3 on: June 08, 2020, 09:52:35 am »
I'd like to know too thanks

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: How do I change the time from 12.00 format to 24.00 format?
« Reply #4 on: June 08, 2020, 01:36:49 pm »
Admin -> Features and Options -> Default time format


It uses php date rules found at http://php.net/manual/en/function.date.php
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline vallee

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Level 3 Second year Anniversary One year Anniversary
Re: How do I change the time from 12.00 format to 24.00 format?
« Reply #5 on: June 08, 2020, 07:05:46 pm »
hi and thanks I did look at that but do not understand it, am learning all this, can you maybe give me a clue

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7186
  • Karma: 327
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
Re: How do I change the time from 12.00 format to 24.00 format?
« Reply #6 on: June 08, 2020, 07:27:19 pm »
Chane time format to
%B %d, %Y, %H:%M:%S %p

Guide
Quote

The following characters are recognized in the format string:
  %a - abbreviated weekday name
  %A - full weekday name
  %b - abbreviated month name
  %B - full month name
  %d - day of the month (01 to 31)
  %D* - same as %m/%d/%y
  %e* - day of the month (1 to 31)
  %H - hour using a 24-hour clock (range 00 to 23)
  %I - hour using a 12-hour clock (range 01 to 12)
  %m - month as a number (01 to 12)
  %M - minute as a number
  %p - either "am" or "pm" according to the given time
  %R* - time in 24 hour notation
  %S - second as a decimal number
  %T* - current time, equal to %H:%M:%S
  %y - 2 digit year (00 to 99)
  %Y - 4 digit year
  %Z - time zone or name or abbreviation
  %% - a literal '%' character
Like Create A Forum? Support me at https://www.patreon.com/vbgamer45/

Offline vallee

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile

Badges: (View All)
Level 3 Second year Anniversary One year Anniversary
Re: How do I change the time from 12.00 format to 24.00 format?
« Reply #7 on: June 08, 2020, 10:20:11 pm »
thanks so much have done it, very grateful.

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
986 Views
Last post November 20, 2013, 10:58:22 pm
by forum
3 Replies
268 Views
Last post February 22, 2016, 10:44:16 pm
by CreateAForum
8 Replies
399 Views
Last post June 17, 2018, 08:41:52 pm
by GeneralGrievous
6 Replies
299 Views
Last post February 16, 2023, 09:15:41 pm
by CreateAForum
0 Replies
118 Views
Last post February 15, 2023, 09:12:15 pm
by animaniactoo