Get locale format on dates and time
-
Hello
i have a problem
When i retrieve date and time from a table i want to have a custom format on exporting table like
strftime("%a %d / %m / %G - %H:%M", strtotime($row->played))
but i want to use locale on above format
one option is setlocale(LC_ALL, ‘el_GR.UTF-8’); but i want if a non Greek visitor to see in his locale or the admin can set locale of plugin
thankssorry for my english
- The topic ‘Get locale format on dates and time’ is closed to new replies.