Re: Date Subtraction

2006-06-18 Thread Cameron Laird
In article [EMAIL PROTECTED], Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: In [EMAIL PROTECTED], rsutradhar_python wrote: How to subtract date which is stored in string variable? Example: date1=2006-01-10 date2=2005-12-15 date = date1 - date2 should give me 25 but problem is that

Re: Date Subtraction

2006-06-18 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], Cameron Laird wrote: In article [EMAIL PROTECTED], Marc 'BlackJack' Rintsch [EMAIL PROTECTED] wrote: In [EMAIL PROTECTED], rsutradhar_python wrote: date1=2006-01-10 date2=2005-12-15 date = date1 - date2 should give me 25 but problem is that date1 and date2 datatype is

Date Subtraction

2006-06-17 Thread rsutradhar_python
How to subtract date which is stored in string variable? Example: date1=2006-01-10 date2=2005-12-15 date = date1 - date2 should give me 25 but problem is that date1 and date2 datatype is string which need to be conerted into date fromat which i am not able to do so please help me.

Re: Date Subtraction

2006-06-17 Thread Marc 'BlackJack' Rintsch
In [EMAIL PROTECTED], rsutradhar_python wrote: How to subtract date which is stored in string variable? Example: date1=2006-01-10 date2=2005-12-15 date = date1 - date2 should give me 25 but problem is that date1 and date2 datatype is string which need to be conerted into date fromat