03-11-2019 03:54 PM
I have this xml document and try to get the data from this xml document:
xml document:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- NO LEADING ZEROES IN DATE NUMBERS !!!! -->
-<Holidays>
-<Holiday1>
<date>1/15/2018</date>
<todStart>1100 AM</todStart>
<todend>0300 PM</todend>
</Holiday1>
</Holidays>
script:
how do i get the child information of todstart and todend.
Solved! Go to Solution.
03-12-2019 09:50 AM
03-12-2019 09:50 AM
03-22-2019 01:56 AM
I now able to extract the value from the xml file. but I am now stuck at how to convert the string data extracted from document to time data type.
original value in the document
<Holidays>
<Holiday1>
<date>1/15/2018</date>
<todStart>1100</todStart>
<todend>1500</todend>
</Holiday1>
<Holiday2>
<date>3/13/2019</date>
<todStart>1000</todStart>
<todend>1500</todend>
</Holiday2>
</Holidays>
variable data types and set strings:
need to set sTime and eTime in the time formate.
also how do i verify that my server is running on 24 hours clock or 12 hours?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide