Title: Changing date
Last modified: August 18, 2016

---

# Changing date

 *  [yoggi](https://wordpress.org/support/users/yoggi/)
 * (@yoggi)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/)
 * I´m the guy behind the swedish [http://www.demalt.info](http://www.demalt.info)
   
   I would like to know how to get rid of the “th” after my date. Today it says “
   februari 28th, 2007” under one of my posts. How do I take away the th after the
   number? I would be hapy with just the number.
 * Cheers
    /Giorgio

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

 *  [ghanshyamgadhiya](https://wordpress.org/support/users/ghanshyamgadhiya/)
 * (@ghanshyamgadhiya)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-534902)
 * in php date() function
 * S = English ordinal suffix for the day of the month, 2 characters st, nd, rd 
   or th.
 * so find that date(‘s’)(here function is
    => the_time(‘F jS, Y’); ) function and
   remove s from it. :-}
 *  Thread Starter [yoggi](https://wordpress.org/support/users/yoggi/)
 * (@yoggi)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-534904)
 * …excuse me for this extremly stupid question but where do I find this? On the
   wp-content/themes/default/style.css or do I need to download a plugin of some
   sort?
 * 🙁
 * /Giorgio
 *  [ghanshyamgadhiya](https://wordpress.org/support/users/ghanshyamgadhiya/)
 * (@ghanshyamgadhiya)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-534906)
 * files are in wp-content/themes/default/
 * index.php,
    single.php
 *  [makemead](https://wordpress.org/support/users/makemead/)
 * (@makemead)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-534920)
 * Check your index.php (the one in wp-content/themes/*template-name*/index.php,
   not the one in root) for something like this:`<?php the_time('F jS, Y') ?>` or`
   <?php the_date('F jS, Y') ?>`
    Take out the capital S.
 * Or you can use `<?php the_date() ?>` and it will be settable by using the Admin
   panel “Options” -> “General” -> “Date and time” section -> “Default date format”
   form field
 *  Thread Starter [yoggi](https://wordpress.org/support/users/yoggi/)
 * (@yoggi)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-534996)
 * I´ll check it up! Thanks for all your tips! “filesharing & co-coding is caring”
 * 🙂
 *  Thread Starter [yoggi](https://wordpress.org/support/users/yoggi/)
 * (@yoggi)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-535002)
 * I don´t know what to do really. The only thing that is written in my index php
   file is:
 * <?php
    /* Short and sweet */ define(‘WP_USE_THEMES’, true); require(‘./wp-blog-
   header.php’); ?>
 *  [ghanshyamgadhiya](https://wordpress.org/support/users/ghanshyamgadhiya/)
 * (@ghanshyamgadhiya)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-535016)
 * the simple thing is search this text _the\_time(‘F jS, Y’)_ in all your file 
   and just remove _s_.
 *  Thread Starter [yoggi](https://wordpress.org/support/users/yoggi/)
 * (@yoggi)
 * [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-535065)
 * I fixed it! Big hug!

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

The topic ‘Changing date’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 3 participants
 * Last reply from: [yoggi](https://wordpress.org/support/users/yoggi/)
 * Last activity: [19 years, 2 months ago](https://wordpress.org/support/topic/changing-date-2/#post-535065)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
