Title: Completion date format
Last modified: July 3, 2020

---

# Completion date format

 *  Resolved [Sanya Kuzovlev](https://wordpress.org/support/users/sanya1917/)
 * (@sanya1917)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/date-format-196/)
 * Hi Devs!
    How can I safely change date format to D.M.Y? If there is no filter
   or setting maybe it can be done in code?
 * Thanks!
    -  This topic was modified 5 years, 9 months ago by [Sanya Kuzovlev](https://wordpress.org/support/users/sanya1917/).

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

 *  [cspiliakos](https://wordpress.org/support/users/cspiliakos/)
 * (@cspiliakos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/date-format-196/#post-13070697)
 * Hi Sanya, not sure if it’s already tried, but have you tried changing the WordPress
   site date settings first? You can find them on the settings > General.
 *  Thread Starter [Sanya Kuzovlev](https://wordpress.org/support/users/sanya1917/)
 * (@sanya1917)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/date-format-196/#post-13131011)
 * Current date format in settings – d.m.Y
 *  Thread Starter [Sanya Kuzovlev](https://wordpress.org/support/users/sanya1917/)
 * (@sanya1917)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/date-format-196/#post-13134729)
 * Solution
 * add_filter( ‘sensei_certificate_date_format’, ‘custom_change_certificate_date_format’);
 * function custom_change_certificate_date_format($date){
    return ‘%d.%m.%Y’; }
    -  This reply was modified 5 years, 8 months ago by [Sanya Kuzovlev](https://wordpress.org/support/users/sanya1917/).
 *  Plugin Author [Donna Peplinskie (a11n)](https://wordpress.org/support/users/donnapep/)
 * (@donnapep)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/date-format-196/#post-13167295)
 * Closing as resolved due to latest answer.
 *  Plugin Author [Donna Peplinskie (a11n)](https://wordpress.org/support/users/donnapep/)
 * (@donnapep)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/date-format-196/#post-13167309)
 * Noting here that changing the _Date Format_ in _Settings_ > _General_ also works.
 *  [kasra1990](https://wordpress.org/support/users/kasra1990/)
 * (@kasra1990)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/date-format-196/#post-13291175)
 * Hi guys
    I really don’t want to change the main Date Format setting across all
   my WordPress website. [@sanya1917](https://wordpress.org/support/users/sanya1917/)
   Can you lead me where I should put your solution function in the codes? (I put
   into template’s functions.php and didn’t work)
    -  This reply was modified 5 years, 7 months ago by [kasra1990](https://wordpress.org/support/users/kasra1990/).
 *  Thread Starter [Sanya Kuzovlev](https://wordpress.org/support/users/sanya1917/)
 * (@sanya1917)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/date-format-196/#post-13303988)
 * [@kasra1990](https://wordpress.org/support/users/kasra1990/) you did everything
   right. I wrote my code in a functions.php file.

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

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

 * ![](https://ps.w.org/sensei-certificates/assets/icon-256x256.png?rev=2531144)
 * [Sensei LMS Certificates](https://wordpress.org/plugins/sensei-certificates/)
 * [Support Threads](https://wordpress.org/support/plugin/sensei-certificates/)
 * [Active Topics](https://wordpress.org/support/plugin/sensei-certificates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sensei-certificates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sensei-certificates/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [Sanya Kuzovlev](https://wordpress.org/support/users/sanya1917/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/date-format-196/#post-13303988)
 * Status: resolved