1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

PHP: How to Find a Random Date in PHP

  1. Clicks today:
    0
  2. Clicks this month:
    0
  3. Overall rating:
    2.50/5

PHP » Date and Time — almost 10 years ago
This tutorial walks you through how to use a few simple functions - strotime(), date(), and rand() - to find a random date in PHP. The end result is a simple one-line command, which you can place in a function and re-use in your own scripts.

Comments

Your Comment

You must be logged in to post a comment.