why not use date() just like below,try this
$t = strtotime('20130409163705');
echo date('d/m/y H:i:s',$t);
and will be output
09/04/13 16:37:05
Related Contents:
- How to get time difference in minutes in PHP
- PHP How to find the time elapsed since a date time? [duplicate]
- A non well formed numeric value encountered
- Accessing dates in PHP beyond 2038
- Adding minutes to date time in PHP
- PHP compare time
- Round minute down to nearest quarter hour
- Print time in 15-minute increments between two times in the same day
- How to sort date array in php?
- How to Sort a Multi-dimensional Array by Value
- What are the “standard” timezone abbreviations?
- Calculate business days
- Convert time in HH:MM:SS format to seconds only?
- How to convert date to timestamp in PHP?
- Sorting an associative array in PHP [duplicate]
- PHP setlocale has no effect
- PHP: producing relative date/time from timestamps
- PHP check if date between two dates
- Getting date format m-d-Y H:i:s.u from milliseconds
- PHP date() with timezone?
- Preserve key order (stable sort) when sorting with PHP’s uasort
- Calculate age based on date of birth
- php date validation
- How do I find the hour difference between two dates in PHP?
- How to check if time is between two times in PHP [duplicate]
- Sort array of objects by one property
- Get date range between two dates excluding weekends
- Can you add an if statement in ORDER BY?
- increment date by one month
- Check whether the string is a unix timestamp
- Sort a flat, associative array by numeric values, then by non-numeric keys
- How to get current time in milliseconds in PHP?
- PHP date format /Date(1365004652303-0500)/
- Date minus 1 year?
- Limit execution time of an function or command PHP
- Does UTC observe daylight saving time?
- Group rows in an associative array of associative arrays by column value and preserve the original first level keys
- Sort array using array_multisort() with dynamic number of arguments/parameters/rules/data
- Date function output in a local language [duplicate]
- How to sum N number of time (HH:MM Format)?
- Select entries between dates in doctrine 2
- Get week number in month from date in PHP?
- Date in a URL dd/mm/yyyy
- Using usort in php with a class private function
- PHP date format converting
- Isolate comma-separated values, remove duplicates and empty values, then sort
- Calculate the number of months between two dates in PHP?
- Run a PHP script every second using CLI
- PHP date returning wrong Month on subtracting one month
- Sort multidimensional array by date column, then use other column values if dates are the same