I don't know if you like beer, Sergey, but I do, and I'd like to buy you some! You are always so helpful! Thanks once again.
Andrew
>In VFP you can add (substract) seconds directly to a datetime value.
DATETIME(1970,01,01, 00,00,00) + lnSecFrom19700101
>
>>I need to convert an integer which is the number of seconds since Midnight, January 1, 1970 to a datetime. In VB there is a function, DateAdd() that will do this. Is there a function in VFP that will do a similar thing, or has somebody already coded this type of thing?
>>
>>Alternatively, what would be the easiest way to incorporate the VB function in my VFP code?
>>
>>I've inherited a project that has some serious time constraints, so any help offered will be gratefully recieved! My brain is tired...
>>
>>Thanks in advance!
On a CLEAR day you can see forever.