News:

Create A Forum Installed

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

0 Members and 1 Guest are viewing this topic.

Offline CreateAForum

  • Administrator
  • *****
  • Posts: 7191
  • Karma: 328
    • View Profile

Badges: (View All)
Avatar Linux User Tenth year Anniversary
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/

 

Related Topics

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