Home » U++ Library support » U++ Core » Date Scan Problem
Re: Date Scan Problem [message #14103 is a reply to message #14100] |
Mon, 11 February 2008 08:55  |
zsolt
Messages: 702 Registered: December 2005 Location: Budapest, Hungary
|
Contributor |
|
|
luzr wrote on Mon, 11 February 2008 08:27 | OK, does this sound better?
case DATE_V:
if(text.IsEmpty()) return (Date) Null;
s = StrToDate(date, text);
if(s)
for(;;) {
if(IsDigit(*s))
break;
if(*s == '\0')
return date;
s++;
}
return ErrorValue(t_("Invalid date !"));
|
Yes, thanks.
|
|
|
Goto Forum:
Current Time: Thu Sep 04 01:17:36 CEST 2025
Total time taken to generate the page: 0.04906 seconds
|