Ron: What I'm trying to say is that DateTime() would need more work to understand if
DateTime() - 1 is to subtract one minute? one hour? one day? Before the changes both Date()-1 and DateTime()-1 would both return yesterday's date. Didn't intent to say DateTime() shouldn't support calculations; just that it would need an overhaul to be able to do so. On 24-06-2011 11:45, Ron Pinkas wrote: > I find it very difficult to believe that a DateTime value can not support > calculations. Why should that be the case? > > Sent from my iPad > > On Jun 24, 2011, at 12:44 PM, Luis Krause Mantilla<lkrau...@shaw.ca> wrote: > >> Before those changes, Date() and DateTime() returned >> exactly the same date type value. >> >> My guess here is that programmer's wanting to do "date math" >> should have even back then used Date() and not DateTime(). >> >> My 2 cents. >> >> On 23-06-2011 13:04, Ella Stern wrote: >>> Hello, >>> More xHarbour users have reported, that they have problems, because >>> expressions >>> like: >>> DateTime() - 1 >>> are throwing run-time error. >>> The date-time variables are officially documented as variables returning >>> data >>> type "D", and the users have code, which is now broken, because is >>> incrementing >>> or decrementing variables, which now are returning data type "T" instead of >>> "D". >>> Ella >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Simplify data backup and recovery for your virtual environment with vRanger. >>> Installation's a snap, and flexible recovery options mean your data is safe, >>> secure and there when you need it. Data protection magic? >>> Nope - It's vRanger. Get your free trial download today. >>> http://p.sf.net/sfu/quest-sfdev2dev >>> >>> >>> >>> _______________________________________________ >>> xHarbour-developers mailing list >>> xHarbour-developers@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/xharbour-developers >> >> -- >> Luis Krause Mantilla >> lkrausem at shaw dot ca >> luis_krause at hotmail dot com >> "May the Source be with GNU" >> >> >> ------------------------------------------------------------------------------ >> All the data continuously generated in your IT infrastructure contains a >> definitive record of customers, application performance, security >> threats, fraudulent activity and more. Splunk takes this data and makes >> sense of it. Business sense. IT sense. Common sense.. >> http://p.sf.net/sfu/splunk-d2d-c1 >> _______________________________________________ >> xHarbour-developers mailing list >> xHarbour-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/xharbour-developers > > -- Luis Krause Mantilla lkrausem at shaw dot ca luis_krause at hotmail dot com "May the Source be with GNU" ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense.. http://p.sf.net/sfu/splunk-d2d-c1 _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers