Reputation: 341
I want to insert the current date/time into my xml feed using Rails Builder.
Here is what I am trying to get:
<?xml version="1.0" encoding="utf-8" ?>
<FirstObject timestamp="2002-06-01T07:00:00">
....
I have:
xml.instruct!
xml.FirstObject
....
What is the command to put in the current date? Thanks!
Upvotes: 1
Views: 425