|
Posted by David Kerber on 01/07/08 14:26
In article <e8308$47809ad4$541983fa$22315@cache6.tilbu1.nb.home.nl>,
spam@hotmail.com says...
> Ok, this weblogger guy writes:
>
> "
> Date values in SQL is always saved in "MM/DD/YY(YY)" format.
He's wrong. It may be true for some SQL engines, but not all.
> Here's a line of code to get the string in the correct format for SQL:
> FormatDateTime('mm"/"dd"/"yyyy', Now)
Only good for Access. Most client-server engines want either yyyymmdd
or yyyy-mm-dd (some will take either).
> "
>
> So I tried:
>
> where (Birthday > 01/01/1970)
>
> Seems to be working so far.
>
> So far so good.
>
> Soon I'll post some nice code, for age range selecting ;)
>
> Bye,
> Skybuck.
>
>
>
--
Remove the ns_ from if replying by e-mail (but keep posts in the
newsgroups if possible).
Navigation:
[Reply to this message]
|