Title: wp-pass
Last modified: August 18, 2016

---

# wp-pass

 *  [anup](https://wordpress.org/support/users/anup/)
 * (@anup)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/wp-pass/)
 * My query relates to wp-pass.php
 * I have been looking at that file and find that at one place it is `time()+60*
   60*24*30`
 * Does this mean one can change the time for cookie to be valid? What syntax should
   I use if I wish to define the time of validity to five minutes. Thanks.
 * Anup
    [http://www.i3pep.org](http://www.i3pep.org)

Viewing 1 replies (of 1 total)

 *  [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * (@kafkaesqui)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/wp-pass/#post-122582)
 * Hmm. `time()` returns Unix time in seconds, so what you have goes:
 * +seconds in a minute
    *minutes in an hour *hours in a day *number of days
 * For just five minutes, get rid of the math quiz and use this:
 * `time()+300`

Viewing 1 replies (of 1 total)

The topic ‘wp-pass’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Kafkaesqui](https://wordpress.org/support/users/kafkaesqui/)
 * Last activity: [21 years, 4 months ago](https://wordpress.org/support/topic/wp-pass/#post-122582)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
