Hi,
I have a date formatting issue using the XML export function. I am creating an XML google sitemap dynamically from a mysql data source. The file is created OK, but the date is creating errors. I have selected YYYY-MM-DD, which is what Google needs. This is OK but if the day or month only have one digit like at the moment I get this YYYY-M-D i.e 2009-2-4 so the '0' digit is being removed.
Can you suggest how I can edit the code to rectify this.
Cheers,
Steve. |
|
|