You are already doing it right, 1227643821 is simply not 02-12-2008, it is indeed 25-11-2008.
More Related Contents:
- Display which day it is? sunday or monday “php coding”? [closed]
- Check whether the string is a unix timestamp
- Subtract time in PHP
- NOW() function in PHP
- Subtracting a certain number of hours, days, months or years from date
- Php date() Date and time is stuck [closed]
- How to get time difference in minutes in PHP
- What are the “standard” timezone abbreviations?
- Convert from MySQL datetime to another format with PHP
- PHP Sort a multidimensional array by element containing Y-m-d H:i:s date
- PHP DateTime::modify adding and subtracting months
- MySQL datetime fields and daylight savings time — how do I reference the “extra” hour?
- Accessing dates in PHP beyond 2038
- How to list all months between two dates
- get UTC time in PHP
- How to check if time is between two times in PHP [duplicate]
- How to generate random date between two dates using php?
- Print time in 15-minute increments between two times in the same day
- How to sum N number of time (HH:MM Format)?
- How do I deep copy a DateTime object?
- Convert UTC dates to local time in PHP
- Set timezone in PHP and MySQL
- php strtotime “last monday” if today is monday?
- mysql – INSERT date range into date columns IF dates don’t overlap with existing ones
- Using MySQL’s TIMESTAMP vs storing timestamps directly
- PHP: How to check if a date is today, yesterday or tomorrow
- Get a PHP DateTime difference in days, considering midnight as a day change
- How to convert UTC datetime to another timezone?
- How to detect Ambiguous and Invalid DateTime in PHP?
- Get date for monday and friday for the current week (PHP)