XML String processing problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • smsabu2002@yahoo.com

    XML String processing problem

    Hi,

    I have to retrive the Time value from the following xml tag.

    <test Time="8/23/2006 06:39:31 PM" />

    I have written the following code for reading time:

    $testRecord->get_attribute( "Time");

    I am able to read time value as "8" instead of '8/23/2006 06:39:31
    PM" from the xml string.

    The entire string after the character "/" is discarded

    Please help me how to parse the entire string.


    Thanks in advance.

    Arun.

Working...