is a date
J. Landman Gay
jacque at hyperactivesw.com
Sun Oct 15 15:10:36 EDT 2017
On 10/15/17 1:57 PM, Mark Wieder via use-livecode wrote:
> 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.
>
Ah. I didn't test that.
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list