Title: change date format
Last modified: August 31, 2016

---

# change date format

 *  Resolved [Martin Kou](https://wordpress.org/support/users/martin-kou/)
 * (@martin-kou)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/change-date-format-27/)
 * Hello, can somebody help me… how can I change the date format from 1. Jan 2015
   to 1. 01. 2015… I have this setup in wordpress default, but there are few places
   in this theme where it is still as first option. website is here: [http://bezvamama.cz/](http://bezvamama.cz/)
   
   Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/change-date-format-27/#post-6975902)
 * Hi Martin. Welcome to the Hueman forum. The theme uses a call to the WP function“
   the_time()” to display the dates, but it doesn’t use the WP Date Format option
   for all calls. It was designed that way so in places where there is limited space,
   like sidebar widgets, the date would be in shorthand format. Try using this function
   in a child theme functions.php file to set all dates to use the WP Date Format:
 *     ```
       /* use WP Date Format option for all post dates */
       add_filter('the_time', 'my_time_filter');
       function my_time_Filter(){
         $my_date = get_the_time(get_option('date_format'));
         return $my_date;
       }
       ```
   
 *  [Sanjog](https://wordpress.org/support/users/sanjog/)
 * (@sanjog)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/change-date-format-27/#post-6976013)
 * Hi @
 * You can look [this for reference.](https://codex.wordpress.org/Formatting_Date_and_Time)
 * Thank You!!1
 *  Thread Starter [Martin Kou](https://wordpress.org/support/users/martin-kou/)
 * (@martin-kou)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/change-date-format-27/#post-6976100)
 * Thank you for help, php filter works!!
    Martin

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘change date format’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [feature-candidate](https://wordpress.org/support/topic-tag/feature-candidate/)

 * 3 replies
 * 3 participants
 * Last reply from: [Martin Kou](https://wordpress.org/support/users/martin-kou/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/change-date-format-27/#post-6976100)
 * Status: resolved