Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 19th, 2007, 03:17 PM
fyr fyr is offline
Registered User
 
Join Date: Dec 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Convert British format date to American format?

I would like to convert dates in the following format (19/08/2007 17:56:22 +0100) into this format: 2007-08-19 17:56:22. Basically I need to get the unix timestamp for the formatted date and I cannot find a way to do this with php if the date is in British format.

thanks in advance!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Rich Text Format to Ordinary Format in ASP Andraw Classic ASP Basics 1 August 31st, 2007 10:05 AM
British Date Format jaucourt ASP.NET 1.0 and 1.1 Basics 2 October 9th, 2006 12:47 PM
XSLT - Convert the date in different format haixia XSLT 1 August 25th, 2006 11:51 AM
Formula to convert date format narooma.12 Crystal Reports 0 April 20th, 2005 04:54 PM
Convert date format ciko1973 Access VBA 3 June 18th, 2003 04:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.