You need to sign in to do that
Don't have an account?

Setting up date time stamp in Email Template
Hello,
I am trying to setup a date time stamp at the top of an email template so it would look something like this:
Jul 15 2009 10:01AM
I have tried using the {!Now()} function in my email template but it comes out as GMT which is a few hours ahead of us here in CST.
Could anyone tell me a better way to add today's date to the top of an email? I've been all through the discussion boards and Technical Library and can't seem to find it. If I missed an example or discription a link to that would be great too.
Thanks in advance,
Marc Petersen
Take a look here:
Visualforce Email template to display date and time in User's timezone (local time)
All Answers
If I understand your question correctly you should be able to use
to render the current date, you would then possibly need to adjust the formatting to add the time stamp.
I do not know if this will work with a Visualforce page.
james
Sorry. What I was asking was how to change the formating of the time to CST. {!Now()} gives the time in GMT I just need to know how to add 6 hours to that.
Or, if I used {!Today()} how could I get rid of the 00:00:00 GMT?
Thank you.
Take a look here:
Visualforce Email template to display date and time in User's timezone (local time)
Hello,
i know its an old thread, but what about this solution:
Now +0.25: {!Now()+0.25}
Now -0.25: {!Now()-0.25}
1 = 1 day
0.5 = 1/2 day = 12 hours
0.25 = 1/4 day = 6 hours
Regards,
Fipz
Regards,
Elaina