Adding Days to a Date in xpath

classic Classic list List threaded Threaded
3 messages Options
SD
Reply | Threaded
Open this post in threaded view
|

Adding Days to a Date in xpath

SD
Hi All,

I have a date to which I would like to add days

eg:
 Date = 03/12/2011
 Days = 4
 result = 03/16/2011

could anyone tell me how to get this right, there are no direct functions in xpath for the same.


Regards
--SD
Reply | Threaded
Open this post in threaded view
|

Re: Adding Days to a Date in xpath

Binesh Gummadi
This might help.

http://stackoverflow.com/questions/2991550/xforms-set-default-date-in-binding


Binesh Gummadi
Senior Software Engineer
rivetlogic
Voice +1.703.879.5740
Skype binesh.gummadi_rivetlogic
GTalk [hidden email]
Calendarbinesh gummadi's calendar



On Tue, Apr 5, 2011 at 12:33 PM, SD <[hidden email]> wrote:
Hi All,

I have a date to which I would like to add days

eg:
 Date = 03/12/2011
 Days = 4
 result = 03/16/2011

could anyone tell me how to get this right, there are no direct functions in
xpath for the same.


Regards
--SD


--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Adding-Days-to-a-Date-in-xpath-tp3428555p3428555.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
SD
Reply | Threaded
Open this post in threaded view
|

Re: Re: Adding Days to a Date in xpath

SD
That worked seamlessly, I was passing invalid values earlier.

Thanks
--SD 

On Tue, Apr 5, 2011 at 11:03 AM, Binesh Gummadi <[hidden email]> wrote:
This might help.

http://stackoverflow.com/questions/2991550/xforms-set-default-date-in-binding


Binesh Gummadi
Senior Software Engineer
rivetlogic
Voice +1.703.879.5740
Skype binesh.gummadi_rivetlogic
GTalk [hidden email]
Calendarbinesh gummadi's calendar



On Tue, Apr 5, 2011 at 12:33 PM, SD <[hidden email]> wrote:
Hi All,

I have a date to which I would like to add days

eg:
 Date = 03/12/2011
 Days = 4
 result = 03/16/2011

could anyone tell me how to get this right, there are no direct functions in
xpath for the same.


Regards
--SD


--
View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Adding-Days-to-a-Date-in-xpath-tp3428555p3428555.html
Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws