[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Finding total hours between two dates and keeping

Subject: RE: Finding total hours between two dates and keeping a running total
From: kakridge@xxxxxxxxxxxxx
Date: Wed, 19 Nov 2003 12:15:23 -0500
hours between two dates
Still have not found answers on this.  

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> kakridge@xxxxxxxxxxxxx
> Sent: 18 November 2003 18:03
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Finding total hours between two dates and 
> keeping a running total
> 
> 
> I currently have XML like this portion:
> 
> <ArrayOfReservation>
> 	<Reservation>
> 		<StartDate>2003-11-13T09:00:00.0000000-05:00</StartDate>
>     		<EndDate>2003-11-13T17:00:00.0000000-05:00</EndDate>
> 	</Reservation>
> 	<Reservation>
> 		...
> 		...
> 	</Reservation>
> 		...
> 		...
> 		...
> </ArrayOfReservation>
> 
> How can I:
> 
> 1. Display 9:00 AM and 5:00 PM instead of 09:00 and 17:00
> 
> 2. Get the total number of hours between the two times( problems arise
> for 	me when I have multi day events). 
> 
> 3. Display the total number of hours for all
> reservations(this is most important, and I am completely 
> stumped on this one.  I imagine it has something to do with a 
> variable, but I am a novice and keep getting variable scope errors).
> 
> 
> Thank you in advance for your help.
> 
> 
> -Kenny Akridge




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.