Perfect! My DATETIME() function does not take parameters (VFP 5) so I converted the components to strings, ran them together and fed it to CTOT() and it worked just fine.
I needed this becuase we use header files with forms, and if you change the header file VFP recompiles the form (which it needs to) However, that changes the file date/time so you can't tell when you really last updated the form. Now we can pull the form objects timestamp from the SCX and figure out the real date/time of last update.
Thanks,
Chris Vesper
>Try this:
>
LPARAMETERS tnStamp
>
>RETURN IIF(tnStamp = 0,;
> {//::},
...