Insert Current Date/Time into XML through Ruby Builder

mohican_sn

New Member
I want to insert the current date/time into my xml feed using Rails Builder. Here is what I am trying to get:\[code\]<?xml version="1.0" encoding="utf-8" ?><FirstObject timestamp="2002-06-01T07:00:00">....\[/code\]I have:\[code\]xml.instruct!xml.FirstObject ....\[/code\]What is the command to put in the current date? Thanks!
 
Back
Top