preg_replace("/(\d{1,2})\/(\d{1,2})\/(\d{2,4})/","\\2/\\1/\\3","11/12/2003")
to the strtotime function.
fil
Howard Lowndes wrote:
Is there any configuration parameter, or other setting that will force PHP to assume non_US date formats, esp for the strtotime() functions so that 11/12/2003 is the 11th December 2003 and not 12th November 2003? The doco does not appear to consider this need.
-- Phil Scarratt Draxsen Technologies IT Contractor/Consultant 0403 53 12 71
-- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
