How to add hours and minutes in datepicker

edited June 2015 in Feature Requests
Hello!
I have a field 'time' in database for my news simple module. And it shows as a time field without any additional settings(which is nice ), but iv tried to add hours and minutes (change from /mm/dd/yyyy to mm/dd/yyyy HH:MM) for it and found no way to do it. Can you help me with it, please?

Comments

  • edited 9:25PM
    When you say a time field do you mean that it is showing the date picker field (mm/dd/yyyy) without the time? There are 3 different types of fields types you can use, date, datetime, and time:
    $fields['my_field']['type'] = 'datetime';
    OR$fields['my_field']['type'] = 'date';
    OR$fields['my_field']['type'] = 'time';
  • edited 9:25PM
    Thank you! It helped me.
Sign In or Register to comment.