Possible Duplicate:
A simple program to CRUD node and node values of xml file
I have an xml file from which I get data. I also got multiple <date></date>
tags in which I would like to store some date values: year, month, day, hour, minutes.
I enter the XML data manually, so my question is how do I write the required date values so when I do a file_get_contents()
from PHP and then get each individual tag, PHP would understand the date and place it in a variable/object, instead of me processing the string and creating a Date variable?