I understand my question is pretty incomplete .. I am basically writting date and time to xml to record when the file was created .. The exact format i want is “04/04/12 13:30:40”
I tried to different ways to get what I want and the closest i found is using this ..
Dim Date_Time As Date = Date.Now
which will show like

Pretty close rite ? but when I write it variable Date_Time to XML it becomes totally different .. such as ..
2012-05-02T09:24:48.7005197+01:00
Hope someone can help me out .. THanks ..
PS. I was using
Dim xmlDoc As New XDocument(
New XElement("FILE",
New XAttribute("FileDate", Date_Time))
to create xml.
try something like this when you write to the file:
I think adding tt to the end will give you the AM/PM bit if you want that too.
Just to add a bit more info, the following link gives you a example of all the different date formats … good for reference… Click me