Re: Format of date in document data

John Gersh <[email protected]> Tue, 31 Jan 2012 09:36:28 -0500
Newsgroups gmane.comp.graphics.omnigraffle.user
Message-ID <CB4D5FBB.10E6F%[email protected]>
OmniGraffle uses Unix date format specifiers within its own syntax for
variables. To see this use one of the date format objects in the Variables
stencil. For example, use the first one, showing "01/31/12" for today.
(Localization may vary the format; this is what I see in the USA. You'll
probably see "31/01/12".) Drag it onto the digram and double-click on it
to show the underlying syntax. I see "<%Date %m/%d/%y%>." To get your long
format, change it to "<%Date  %A %e %B %Y%>." That example has spaces as
separators. As the original one shows, you can put whatever separator
you'd like to use (slash, comma, etc.) between specifiers.

For a full list of the specifiers, see
http://en.wikipedia.org/wiki/Date_(Unix) .

You can make a stencil with formats that you'll use frequently.

By the way, OG discussion has moved from the mailing list to the Omni
forums: http://forums.omnigroup.com/index.php . Omnigraffle General is now
the best place for questions like this one.

- John Gersh



On 1/31/12 7:42 AM, "Ian Piper" <[email protected]> wrote:

>Hi,
>
>I am creating a wireframe template for a client and they want a
>particular format (basically the long format: Tuesday 31 January 2012)
>for dates. However, when I use <%Date%> or similar I get a short form
>date like Tue Jan 31 2012. How do I set a date format the way I want it?
>Doesn't seem to be dependent on my Mac system date format.
>
>Thanks for any advice.
>
>Regards,
>
>
>Ian.
>-- 
>Dr Ian Piper
>Tellura Information Services - the web, document and information people
>Registered in England and Wales: 5076715, VAT Number: 874 2060 29
>http://www.tellura.co.uk/
>Creator of monickr: http://monickr.com
>01926 811383 | 07973 156616
>-- 
>
>
>
>_______________________________________________
>OmniGraffle-Users mailing list
>[email protected]
>http://www.omnigroup.com/mailman/listinfo/omnigraffle-users