Forum > The Help Desk
Formatting Dates in Quote Box Info
(insert name here):
I was wondering if any of you guys knew how to format the dates when creating a quote box, because I can't make any sense of it.
⟦quote author=Example link=topic=2345.msg64919#msg64919 date=1349650194⟧
The red part is what I'm referring to. Those numbers produce a date of: October 07, 2012, 10:49:54 PM (GMC)
Another example:
This: 1260223217
Produces this: December 07, 2009, 10:00:17 PM (GMC)
The most practical use for knowing how to do this is when you want to quote something from a locked thread and you have to add in all the info yourself. You can't exclude the date if you want to have the link, so you are forced to put in some gibberish if you don't know how the formatting works.
Aha! Found out how it works. I thought it might have to with with seconds since the beginning of 1970. I wonder why they chose that specific date...
Here's a site that can convert between the two. When converting, bear in mind that on this site the code is turned into a date, and then converted to your time offset. So if using a time offset, be sure to convert the date you want to GMC before converting it to a unix timestamp.
Artur:
Lol old topic XD
That thing is called Unix Time. It's for a reason starting from 1970. Because then the unix time started. That's why it is the seconds from there until now.
btw. that unix timestamp only works until 2035. Then the maximal number is reached.
Zerr:
--- Quote from: Artur on March 01, 2011, 10:40:07 AM ---btw. that unix timestamp only works until 2035. Then the maximal number is reached.
--- End quote ---
ZOMG ZE END OF TEH WORLDZ!!!!!!!1!1!1!111!1
Joshed7:
--- Quote from: Zerr on March 01, 2011, 12:01:14 PM ---ZOMG ZE END OF TEH WORLDZ!!!!!!!1!1!1!111!1
--- End quote ---
:!: *builds a bomb shelter*!
DaTopGamer:
--- Quote from: Artur on March 01, 2011, 10:40:07 AM ---Lol old topic XD
That thing is called Unix Time. It's for a reason starting from 1970. Because then the unix time started. That's why it is the seconds from there until now.
btw. that unix timestamp only works until 2035. Then the maximal number is reached.
--- End quote ---
I used the converter and I was able to enter a date in 2286 (with 9999999999 Unix timestamp).
--- Quote from: (insert name here) on December 12, 2009, 05:44:26 PM ---Here's a site that can convert between the two.
--- End quote ---
Navigation
[0] Message Index
[#] Next page
Go to full version