469,925 Members | 1,500 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,925 developers. It's quick & easy.

list the dates by week, month,year

83
Hi
how to list the inserted dates by week,month and year.
That is how to select the dates by past one week.
similarly the month and year of the particular filed.

Thanks in Advance
Sang
Dec 23 '06 #1
1 4621
ronverdonk
4,258 Expert 4TB
You can find your answer in the standard MySQL documentation.

The following shows you how to use the DATE_FORMAT() function that you need to use in your request. It also show examples of its usage:http://dev.mysql.com/doc/refman/4.1/...functions.html

Ronald :cool:
Dec 23 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by Vincent Jones | last post: by
4 posts views Thread by Richard Hollenbeck | last post: by
26 posts views Thread by Frank | last post: by
2 posts views Thread by toedipper | last post: by
18 posts views Thread by PC Datasheet | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.