File Date/Time sort

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

Post Reply
Posts: 1
Joined: Wed Nov 15, 2006 8:49 pm

File Date/Time sort

Post by DavidC » Mon Dec 18, 2006 3:30 pm


I am a Revolution Newbie. I want to sort a directory of files by date and time then place the file date/time of the most recent file into a field and place it's filename into another field. So far I have the files all listed in a field with long details. Any hints?



Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5147
Joined: Thu Feb 23, 2006 9:24 pm

Post by Mark » Mon Dec 18, 2006 4:56 pm

Hi David,

Sort by item 4, 5, 6 or 7 of each line of the detailed files, then use a repeat loop to convert that item to the long date.


The biggest LiveCode group on Facebook:
The book "Programming LiveCode for the Real Beginner"! Get it here!

Post Reply

Return to “Getting Started with LiveCode - Experienced Developers”