Title: basic date format question
Last modified: August 19, 2016

---

# basic date format question

 *  [js09](https://wordpress.org/support/users/js09/)
 * (@js09)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/basic-date-format-question/)
 * the date is displayed as “MAY 20 2010”
 * How can I get it to display as:
 * MAY
    20 2010
 * and perhaps be able to adjust the font size/color for each.
 * thanks

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/basic-date-format-question/#post-1513470)
 * for instance:
 *     ```
       <div class="date">
       <div class="month"><?php the_time('F'); ?><div>
       <div class="day"><?php the_time('j'); ?><div>
       <div class="year"><?php the_time('Y'); ?><div>
       <div>
       ```
   
 * [http://codex.wordpress.org/Template_Tags/the_time](http://codex.wordpress.org/Template_Tags/the_time)
   
   [http://codex.wordpress.org/Formatting_Date_and_Time](http://codex.wordpress.org/Formatting_Date_and_Time)
 * there are different way to position these divs:
    learn more here: [http://www.w3schools.com/css/css_positioning.asp](http://www.w3schools.com/css/css_positioning.asp)
 *  Thread Starter [js09](https://wordpress.org/support/users/js09/)
 * (@js09)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/basic-date-format-question/#post-1513473)
 * Thanks for the help however I should have specified I’m looking to modify the
   hard code so it will reflect each post.
 * I know CSS so positioning isn’t an issue, I just need to know how to modify the
   PHP.
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/basic-date-format-question/#post-1513497)
 * that is the modified php/html.
    use it in the loop instead of the code that is
   there to show the time. depending on your html structure.
 * as you haven’t posted the code you are using now, there is nothing else i can
   suggest.
 *  Thread Starter [js09](https://wordpress.org/support/users/js09/)
 * (@js09)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/basic-date-format-question/#post-1513562)
 * Ah ok – well I’m working with the ‘thematic’ theme, so I’m not sure where the
   loop is. Everything is in hooks and actions. I’ll try again.

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

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

## Tags

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

 * 4 replies
 * 2 participants
 * Last reply from: [js09](https://wordpress.org/support/users/js09/)
 * Last activity: [15 years, 11 months ago](https://wordpress.org/support/topic/basic-date-format-question/#post-1513562)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
