Table Castle > SiegeDate you can find a date like this: 1257102600000
I try a lot of TimeStamp converters, but they all give me wrong dates (October 28 2009 16:10 PM (GMT -4) its the rigth date)
So i was wondering if there is a tool who made this because i need sieges every week (custom gracia final server)
Any help would be greatly apreciated... and sorry if im posting in the wrong forum mr moderator
[Request]Timestamp converter for siege dates
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: [Request]Timestamp converter for siege dates
you have to chop 3 last places and then convert with a unix time converter. or try to search on forum, there is a nice web tool for calculating the CS time.
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- daedalus
- Posts: 155
- Joined: Sun Mar 12, 2006 12:16 pm
Re: [Request]Timestamp converter for siege dates
Timestamp need to be divide by 1000 before to convert
So for you you need to multiply by 1000 before to update siege date.
Code: Select all
<?php echo date('M d Y h:iA ',$siegeDate/1000); ?>
Last edited by daedalus on Fri Oct 23, 2009 8:18 am, edited 1 time in total.
Daedalus
- janiii
- L2j Veteran
- Posts: 4269
- Joined: Wed May 28, 2008 3:15 pm
- Location: Slovakia
Re: [Request]Timestamp converter for siege dates
DO NOT EVEN TRY TO MESS WITH ME!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
forum flOOder dancing dEVILoper ♀
I don't give private support - PM will be ignored!
- daedalus
- Posts: 155
- Joined: Sun Mar 12, 2006 12:16 pm
-
- Posts: 67
- Joined: Sun Sep 13, 2009 2:09 pm
- Location: Taiwan
- Contact:
Re: [Request]Timestamp converter for siege dates
Thanks janiii
It's powerful!
It's powerful!
-
- Posts: 18
- Joined: Sat Feb 26, 2011 8:51 am
Re: [Request]Timestamp converter for siege dates
that dosen't work for me it keeps show me the same date it was before i made restart and put this code :S