Title: Counter/timer code for dates question
Last modified: August 20, 2016

---

# Counter/timer code for dates question

 *  [stlastla](https://wordpress.org/support/users/stlastla/)
 * (@stlastla)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/countertimer-code-for-dates-question/)
 * Hi,
 * I´m working on translating a wordpress theme. I have translated pretty much the
   whole teme exept one word.
 * If you can take a look at [this page](http://www.digio.no)
    You will see at the
   featured posts (named “hovedoppslag”)has a text similar to this “1 day siden”
   which in english means “1 day ago” in the upper left corner. This tells when 
   it was posted.
 * As you can see I managed to translate the word “ago” to “siden” but not the word“
   day”
 * The counter/timer code which is used in the theme looks like this
    `<?php echo
   human_time_diff(get_the_time('U'), current_time('timestamp')) . __(' ago', 'themejunkie');?
   >`
 * My question is: Can anybody tell me from where it gets the word “day”. Or how
   this code is build? from where does it gets its data?
 * Thanks in advance for helping out.

The topic ‘Counter/timer code for dates question’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [stlastla](https://wordpress.org/support/users/stlastla/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/countertimer-code-for-dates-question/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
