Jump to content

[SOLVED] change date format


zgkhoo

Recommended Posts

but in my country the default is dd-mm-yyyy

then how i gonna to do ...if i wanna let user key in dd-mm-yyyy in <input type=text> field?

thanks.

Use a date picker and format the string internally... if you must keep it that way, use the STR_TO_DATE() mysql function and specify a format string.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.