comparing file creation dates
Barry Kahn
barryk at caravanbeads.net
Sat Feb 23 17:51:38 PST 2008
I'd like to write a procedure that would compare the creation date of
a local database with a copy on our server. If the server copy was
more recent, I'd import that data and and replace the local copy's
data. I know how to do the import part using array statements, but
I've never done anything with date comparisons.
So I'm imagining something like:
Get the modification date for DB Local
Get the modification date for DB OnServer
Compare the modification dates.
If the modification dates are the same, stop
If DB OnServer is more recent, run ArrayBuild etc to replace local
data with data from DB OnServer.
By the way, this list is priceless!
Thanks,
bk
More information about the Qna
mailing list