Hi,
My opinion:
You can create char field type on table (i.e. char(10)) and when you wish to
do some date comparison you can use the next mySQL
functions:LEFT,MID,RIGHT,TRIM (is not only in VB)
I.E:
mydate->field in a_table:char(10);
date on this field: '10.01.2001','30.01.2000',...etc.

select * from a_table where RIGHT(mydate,4)<'2002';
select * from a_table where MID(mydate,4,2)>'01';
...etc

Good luck,
Gelu
____________________________________________________________________
G.NET SOFTWARE COMPANY

----- Original Message -----
From: razvan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 05, 2002 7:46 AM
Subject: date format


>      Hi, please help me with this one!
>  I now the date_format function, it converts the standard format sql
> (yyyy-mm-dd)
>  to any format, but my problem is that i want to convert from another
format
>  (eg. dd/mm/yyyy) to the standard format, in this way i can use insert
with
>  my format.
>      Can I use another format for date when creating a table?
>  thanks!
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to