Page 1 of 1

date variable format

Posted: Thu Apr 19, 2012 2:37 am
by helseykc
Pretty certain that there is no way around this but I thought I'd see if anyone has a work around...

I need to use a date variable in my output but I only want to show the month and year in MMMM YYYY (for e.g. April 2012) format but it looks like even in Flare 8 I can still only use short or long dates as taken from my Windows setting. I don't want to be having to change my Windows settings every single time I produce output, nor is leaving my Windows setting permanently in the MMMM YYYY format an option. I might as well use a user defined variable that I have to remember to update but this seems a bit crazy to me.

Does anyone know how I can get around this? Please please please!!! Is there any way of setting a prompt on the target such that when I generate output I am reminded to check that the date is correct?!

This isn't a one off problem as I have worked in three different companies now and they have all had this requirement.

Many thanks in advance for any help!

Helen

Re: date variable format

Posted: Thu Apr 19, 2012 7:22 am
by LTinker68
You can research the Internet for a simple JavaScript script that will get today's date and you can format that date.

And, of course, submit a feature request at http://www.madcapsoftware.com/bugs/submit.aspx.

Re: date variable format

Posted: Fri Apr 20, 2012 2:20 am
by NorthEast
LTinker68 wrote:You can research the Internet for a simple JavaScript script that will get today's date and you can format that date.
The Flare date variable is a date stamp showing when the help was built though - it's not today's date.

You may be able to find a script that shows the date stamp of the file itself; although the date stamp may change when the file is copied/published.

Re: date variable format

Posted: Tue Apr 24, 2012 12:18 am
by helseykc
Thanks for the replies. I need the date in pdf output, not just online output... Can't JavaScript only be used in online outputs?