date variable format

This forum is for all Flare issues not related to any of the other categories.
Post Reply
helseykc
Propeller Head
Posts: 33
Joined: Wed Feb 02, 2011 3:34 am

date variable format

Post 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
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: date variable format

Post 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.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: date variable format

Post 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.
helseykc
Propeller Head
Posts: 33
Joined: Wed Feb 02, 2011 3:34 am

Re: date variable format

Post 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?
Post Reply