Oct 8, 2004 #1 forostec Programmer Oct 5, 2004 13 CO Hello, i have this doubt: How can i predifine the format of a date field so i can work comfortable, because the format is yyyy-mm-dd and i need dd-mm-yyyy. How can i do this?
Hello, i have this doubt: How can i predifine the format of a date field so i can work comfortable, because the format is yyyy-mm-dd and i need dd-mm-yyyy. How can i do this?
Oct 8, 2004 1 #2 cLFlaVA Programmer Jun 14, 2004 6,450 US SELECT DATE_FORMAT(the_date_col, '%c-%d-%Y') *cLFlaVA ---------------------------- Lois: "Peter, you're drunk!" Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking! Upvote 0 Downvote
SELECT DATE_FORMAT(the_date_col, '%c-%d-%Y') *cLFlaVA ---------------------------- Lois: "Peter, you're drunk!" Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!
Oct 8, 2004 1 #3 r937 Technical User Jun 30, 2002 8,847 CA right idea, wrong format SELECT DATE_FORMAT(the_date_col, "%d-%m-%Y") rudy http://r937.com/ SQL Consulting Upvote 0 Downvote
right idea, wrong format SELECT DATE_FORMAT(the_date_col, "%d-%m-%Y") rudy http://r937.com/ SQL Consulting
Oct 11, 2004 Thread starter #4 forostec Programmer Oct 5, 2004 13 CO and this change is permanently? Upvote 0 Downvote
Oct 11, 2004 #5 cLFlaVA Programmer Jun 14, 2004 6,450 US ? That will display the date value as you want it using a select statement. *cLFlaVA ---------------------------- Lois: "Peter, you're drunk!" Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking! Upvote 0 Downvote
? That will display the date value as you want it using a select statement. *cLFlaVA ---------------------------- Lois: "Peter, you're drunk!" Peter: "I'm not drunk, I'm just exhausted from stayin' up all night drinking!