I have a background in PHP. I have been working with rails for a little
wihle now and somethign i still am not understanding is how ruby handles
time stamps. What method can i use to get the current time stamp? Also
how can i convert that timestamp in to an “english” time?
I need to work out times based on weeks. So for example i would have
done something like this in php
$time_now = time();
$time_one_week_form_now = 60 * 60 * 24 * 7 + time();
how would i do this in ruby?