marco-marco Posted November 15, 2003 Share Posted November 15, 2003 there is a function \"mysql> dayofyear(\'2003-08-01\')\" which will return the value \"213\". Is there a way of entering \"213\" and getting \"2003-08-01\" ?? Quote Link to comment https://forums.phpfreaks.com/topic/1371-date-functions-in-mysql/ Share on other sites More sharing options...
Barand Posted November 16, 2003 Share Posted November 16, 2003 You could use DATEADD (2002-12-31, 213 DAYS) Quote Link to comment https://forums.phpfreaks.com/topic/1371-date-functions-in-mysql/#findComment-4546 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.