I know that SELECT Now() returns the current DateTime, but how can I just return the date, so instead of this:
Month.Day.Year.Hour.Minute.Second
I can just do:
Month.Day.Year
So what must I do to get the M.D.Y instead of M.D.Y.H.M.S in mysql?
Also, how can I get the H.M.S part as well?
Please check this link for more information.
To format date in month/Day/Year, check this.
Something like this will work:
If you want a dot(.) to separate the date like
Month.Day.Year, you can do this:To get the H.M.S part, you can do the following: