is a date

Mark Wieder ahsoftware at sonic.net
Sun Oct 15 14:57:06 EDT 2017


On 10/15/2017 11:44 AM, J. Landman Gay via use-livecode wrote:
> On 10/15/17 5:10 AM, Yves COPPE via use-livecode wrote:
>> I hope this works for any date format
> ...
>>
>> if 
>> matchtext(textToSearch,"(\d{1,2})/(\d{1,2})/(\d{2,4})",theDay,TheMonth,TheYear) 
>> is true then
> 
> Yes, it seems to work with any numeric date now.

It *does* think 99/99/00 is a date, though.

-- 
  Mark Wieder
  ahsoftware at gmail.com




More information about the use-livecode mailing list