You are using a browser which is not compatible with CSS (for more information, see Tara's tutorial). Because of this, it is possible that our website may not appear correctly in your browser. We apologise for the inconvenience, and recommend you upgrade your browser to one which is compatible with CSS. For more information, please visit our Browser Upgrade page.

4WebHelp

Online Tools: Unix Timestamp Converter

Convert timestamps into dates
Timestamp:
  In GMT. Example: 1010342461.
Timezone:
  Timezone which the result will be given in.

Convert dates into timestamps:
Day: (01-31)
Month: (01-12)
Year:
Hour: (00-23)
Minute: (00-59)
Second: (00-59)
Timezone:

Comments
Name: GoodwineEmail none
@the one talking about 2038

Well the problem has already arisen at PCs which use times in the future, its called the Y2K38 bug as an allusion to what you mentioned, what may be possible is that they implement integers of 64 bits which will do the work very nicely, it will still have another limit but it will be far after we die xD
Name: Olivier SerreEmail none
The script is not working with large negative timestamps (as php date())

Name: BrianEmail none
GMT should probably become UTC instead.  GMT is kind of an outdated term...
Name: BeanyheadEmail none
This helps a lot when debugging applications.  Thanks for putting it up.
Name: LingvikEmail none
For Chris: Actually the Number is 2147483647 = 2^31 - 1.

But the rest remains the same. 64-bit system is the solution.
Name: MeEmail none
Cool Tool - thx
Name: Dr md - pmai.tkEmail none
Hi, i am just wondering  if u can put the script for that online time stamp converter because it really helps
thanks
Name: stpehenEmail none
great tool:)  very handy in that it works for all timezones
Name: LemebEmail none
Great ! Thank you very much !
Name: Nusret ONENEmail nusretonen at gmail dot com
This tool is Very Good. $unix$

123456789
simple $time #unix reg
Name: GalymzhanEmail none
Really useful. Thanks to authors!
Name: Ritesh RaghuvanshiEmail ritesh dot raghuvanshi at gmail dot com
Thank you very much guys.

My teammate was working on migration of guestbook comments from Access database to MySQL database.

The problem faced was with migrating a DATETIME datatype to integer.
This gave us an idea of what is happening behind.

Thanks.
Name: TanthalasEmail none
@Chris

There is a solution for the 2038 thing -  64-bit.  The reason you get the rollover is that that number is the highest you can fit in a 32-bit integer.  By 2038 we should all be on at least 64-bit systems, which can handle much bigger numbers.  No worries.
Name: gH0StArthourEmail ghost at sexmodell dot hu
Thank you.
In php:



$unix_time = 1256571985;

echo date("Y-m-d H:i:s",$unix_time)

Name: ChrisEmail mansch2001 at yahoo dot com
10737418239 translates to Tuesday, January 19th 2038, 03:14:07 (GMT).

Anything above (e.g. 10737418240) goes back to 1900.

So Linux will self destruct on Tuesday in January 2038? Surely there must be a contingency a la Y2K switchover.
Name: JarEmail none
Very good, this is what I need
Name: meEmail none
first on google for "convert timestamp"
Name: ASlEmail none
Note that negative timestamps DO work on Linux (alike) platforms but DO NOT work on Windows platforms:

-100 = Wednesday, December 31st 1969, 23:58:20 (GMT)
Name: TylerEmail none
Thanks a lot for this, I was feeling lazy and wanted to verify a generated timestamp from input was correct and your tool did exactly that.
Name: JackEmail none
Thank you for the helpful utility.  I'd like to suggest one new feature that would make it more useful.  Microsoft uses hexidecimal format for the date (rather than decimal).

I had to go to another site to convert hex to decimal, and then was able to plug the decimal value in to your site.  A capability to input directly in hex would be useful.

Add a new comment

This page is © Copyright 2002-2010, 4WebHelp. It may not be reproduced without 4WebHelp's prior permission.