|Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread|
|Messages 1 to 3 of 3 total|
|DecodeDate and DecodeTime|
|Thu, Nov 10 2016 4:29 PM||Permanent Link|
I notice that there is an EncodeDate and an EncodeDateTime, however, I was wondering if there was a DecodeDate and a DecodeDateTime?
Basically, I am wanting to work out the difference (Seconds, minutes, hours etc.) between 2x DateTime's and in Lazarus I have done it by working on the Decoded date and time.
|Thu, Nov 10 2016 6:27 PM||Permanent Link|
Tactical Business Corporation
|Fri, Nov 11 2016 1:02 PM||Permanent Link|
Tim Young [Elevate Software]
Elevate Software, Inc.
<< I notice that there is an EncodeDate and an EncodeDateTime, however, I was wondering if there was a DecodeDate and a DecodeDateTime? >>
See Walter's answer. But, as to the reasoning: EWB doesn't do var parameters, so it can't do a DecodeDate like Delphi can.