Quote Originally Posted by 123jklm
is it possible to count with date in MidletPascal. ex (delphi code)
Edit1.text := DateToStr (date - 25);
I think the short answer is probably. The long answer is, it depends on how MidletPascal stores dates. If it uses a number format like Delphi, then the answer is yes. Ultimately, it makes sense to store dates as numbers as they are more compact (byte wise) than a string so I would say the answer is almost certainly yes. You just need to find out what format MidletPascal uses and adjust the maths accordingly.

Sorry I can't be more specific, but I've never actually used MidletPascal.