* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

Outage March 30, 2024 report by SMFNew
[March 30, 2024, 09:53:53 am]


Re: What are you listening to? by Stelios
[July 16, 2023, 08:54:53 am]


Re: What are you listening to? by Stelios
[July 16, 2023, 08:52:34 am]


Re: What are you listening to? by Jacob
[July 12, 2023, 01:59:53 am]


Re: What are you listening to? by Dagger
[July 06, 2023, 04:11:15 pm]


Re: Cannot Register on Support Forum by Jacob
[June 01, 2023, 01:09:08 am]


Re: Cannot Register on Support Forum by SMFNew
[May 21, 2023, 10:22:14 am]


Cannot Register on Support Forum by Stelios
[May 21, 2023, 06:45:30 am]


Re: Forum Profile Signature Error by SMFNew
[January 19, 2023, 10:26:49 pm]


Re: Forum Profile Signature Error by MangoMochi
[January 19, 2023, 10:24:45 pm]

* Poll

  • Have you noticed better loading times?
  • Dot YES! My forum loads instantly!
  • 53 (33%)
  • Dot I have much better loading times
  • 20 (12%)
  • Dot I have noticed my forum loads a tiny bit faster than before
  • 22 (13%)
  • Dot I have not noticed any changes
  • 64 (40%)
  • Total Members Voted: 150
  • View Topic

* Twitter

Keep up to date with SMFNew by following us on twitter!

Author Topic: [SMF] Date/Time layouts  (Read 7577 times)

0 Members and 1 Guest are viewing this topic.

Offline Nick

  • SMFNew Support
  • *
  • Posts: 2079
  • Reputation: +19/-1
    • View Profile
    • GearedGamers
[SMF] Date/Time layouts
« on: July 14, 2009, 12:34:13 pm »
When you make a post/thread on the forum main page it tells you the time that post/thread was created. I found the time's confusing on my forum so i did mine to how i liked them. Follow this tutorial if you want a simple Date/Time to be shown in the following order:

Day/Month/Year/Hours/Minutes

Go to Admin - Configuration - Features and Options

Scroll half way down the page until you see Default time format. In the white box copy and paste the following text in:

%d/%m/%Y at %H:%M


Scroll to the bottom of the page and press save!

Now when a user posts it will come up as

E.g
     Last post by "Username"
     in "Thread name"
     on 14/07/2009 at 18:31

There are many different time layout's to have but i personally find this one easiest. To work out your own time layout use any of the codes below which were taken from the SMFNEW help section (To find click the ? Logo by Default time format)

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
« Last Edit: September 04, 2011, 05:13:57 pm by Nick »
Wondering how to install new modifications and/or themes to your SMFNew forum? Suggest one »HERE«

Share on Facebook Share on Twitter


Dacads

  • Guest
Date/Time layouts
« Reply #1 on: July 14, 2009, 02:35:04 pm »
yo nick once again brilliant contribution!

Dacads

Offline Nick

  • SMFNew Support
  • *
  • Posts: 2079
  • Reputation: +19/-1
    • View Profile
    • GearedGamers
Date/Time layouts
« Reply #2 on: July 14, 2009, 05:43:39 pm »
Thanks Dacads your the only one who comments on my work :p. At least i have one fan :cool:.
Wondering how to install new modifications and/or themes to your SMFNew forum? Suggest one »HERE«


 

SimplePortal 2.3.7 © 2008-2024, SimplePortal