Convert date to seconds
Mark Wieder
mwieder at ahsoftware.net
Wed Jul 17 21:51:25 EDT 2013
Tom-
Wednesday, July 17, 2013, 6:03:26 PM, you wrote:
> The reason I ask is I am making filenames by merging a name like
> "Thomas" or "Tom" with the date converted to seconds as in
> "Thomas1376625600.txt" or "Tom1376625600.txt"
Regex to the rescue:
get matchtext(tFileName, "([A-Za-z]+)([0-9]+)", tName, tSeconds)
--
-Mark Wieder
mwieder at ahsoftware.net
More information about the use-livecode
mailing list