How do I get today's date?

From: sean colquhoun [email protected]

Subject: [Rails] How do I get today’s date?
To: [email protected]
Message-ID: [email protected]
Content-Type: text/plain; charset=utf-8

I know this is a simple question, but i just want to put the current
day, month, date and year on my website. I still can’t figure
out how to
read the Rails API. Can anybody help me out? TIA

Date.Today gives u the current date, you can then format it using any of
the date formatting methods.

Regards,
Bharat