[Lazarus] DateDif function needed
JohnML at online.de
Wed Nov 13 20:34:36 CET 2013
On 13.11.2013 18:31, waldo kitty wrote:
> On 11/13/2013 9:37 AM, John Landmesser wrote:
>> On 13.11.2013 14:02, waldo kitty wrote:
>>>> We don't need to invent the wheel again, because others have
>>>> solutions for that!
>>> then why does this thread exist? O:)
>> I'll try to find what the usual way is to handle these problems: c++
>> for example?!
> i was being facetious thus the smiley ;)
Ok, i can't read them :--((
> as far as "not one to decide"... on the contrary... you are the one to
> decide if a routine fits your purposes... as far as accepting a
> routine to be added to one of the libraries distributed with FPC
> and/or Lazarus, yeah, that's up to someone on those teams...
Background to my question about DateDiff():
I wrote a little app for my Win Box in office:
if i klick on it, windows shuts down; Space & klick reboots and F1 &
klick shows me a message box, telling me how long i have to stay in
Office to fullfill the 8 h 30 min working time. Now i have my pension,
starting 01.08.2018 and i thought: would be nice to know in this message
box how many Years, Month, days left?!!
That how the story begins ... and lazarus would be better, if there
exists a function DateDiff.
Meanwhile i googled again and learned. 29.01.2000 until 28.01.2001 is 0
Y 11 M and 30 D in Libereoffice and MS Office 360.
I' ll look later in my Win on this computer to look what MS Access 97
What about Databases like mysql, Oracle, Firebird. I'm shure they have
such a function.
.. lots to search for .. hihi ... my cooking is ready ... see you :-))
More information about the Lazarus