Posts about date
Date and time in ruby will give you the current date (and time), like so: 2012-11-22 22:35:01 +0000

You can also request all the date parts individually: 22 35 01 22 11...

Change file modified and creation date/hour

Here's how to change a file's modified date:

touch -mt 201102260000 <file>

Where "201102260000" is year, month, day, hours, minutes all glued together (so 2011-02-26 at 00:00).

Also, if you want to change both the modified and creation...