hi I am trying to determine how old a file is but I keep getting an error that the value does not have the same type or scale as your var vcmsold. But when I check all the vars show up as DateTime.
I must be missing something simple but can’t figure it out?
Thanks
Marc
SET VAR vtemp = (SSUB((UDF('@FileInfo.dll','cmshr.dat')),2))
SET VAR vcreated DATETIME = .vtemp
SET VAR vcurrentdatetime DATETIME = .#now
SET VAR vcmsold DATETIME = (.vcurrentdatetime - .vcreated)

