Title: Change date array.
Last modified: August 18, 2016

---

# Change date array.

 *  [hanifb](https://wordpress.org/support/users/hanifb/)
 * (@hanifb)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/change-date-array/)
 * I would like to know where i can find the function that returns the “th” after
   a date. Ive tried to find it and the result is only that a function named the_time
   has a parameter that is “S”.
 * The reason that i want to find it is that i wold like to replace the “th” to “
   e”, because i have a Swedish blog.
 * I would appreciate your help.

Viewing 1 replies (of 1 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [18 years, 9 months ago](https://wordpress.org/support/topic/change-date-array/#post-585395)
 * That “S” sets the “English ordinal suffix for the day of the month, 2 characters”.
   See: [http://us2.php.net/date](http://us2.php.net/date)
 * Since the date and time formatting is pretty much PHP driven, you might need 
   to look at some php examples:
    [http://us.php.net/manual/en/function.strftime.php](http://us.php.net/manual/en/function.strftime.php)

Viewing 1 replies (of 1 total)

The topic ‘Change date array.’ is closed to new replies.

## Tags

 * [date](https://wordpress.org/support/topic-tag/date/)
 * [th](https://wordpress.org/support/topic-tag/th/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [MichaelH](https://wordpress.org/support/users/michaelh/)
 * Last activity: [18 years, 9 months ago](https://wordpress.org/support/topic/change-date-array/#post-585395)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
