Date

Hello All!

Hopefully you aren’t all getting annoyed with my really stupid, yet easy
to answer questions.

Anyway, I’m in need of a way to use the current date and format it in
different ways, ways that I can use it within my program. The format is
as follows.

yyyymmdd

No spaces, example: 20071110 (todays date, Nov. 10, 2007)

:smiley: Thanks in advance.

require “date”; Date.today.strftime("%Y%m%d")