On 04/08/2008 04:50 PM, NoOp wrote:
> On 04/07/2008 05:56 PM, Joe Hopkins wrote:
>> How can I get Writer to automatiically insert the date into my
>> documents with the desired format.  I want the date to be inserted as
>> "January 1, 2008" instead of "1/1/2008".  No matter what I try, the
>> date format that is automatically inserted is the "1/1/2008" format.
>> Can I change some option to accomplish this? Thanks... Joe
>> 
>> 
> 
> Yes. Insert|Fields|Other|Document|Date|Date (not Date (fixed))|Format
> 
> Then select December 31, 1999 and click the "Insert" button. That will
> use your format and automatically update the date. If you want a fixed
> date in that format, then select "Date (fixed)" instead.
> 
> From there on out, that _document_ will have that date format in _that_
> field - even if you open on another system.
> 
> What I don't know how to do is to set that date format as the default.
> It was discussed on the list sometime back, but I can't recall if anyone
> ever figured it out.
> 

Sorry - I missed Mike Scott's msgs before I replied. Also Michele Zarri
has pointed to the bug/Feature enhancements that have been around for
several years...

However, to take this a step further, you can use the Autotext feature
in OOo to do this:

Once you've inserted your date field with the format using
Insert|Fields|Other|Document|Date| (use Date(fixed) for this example),
select the field with the mouse and then:

Edit|Autotext

That will open a window for the Autotext dialog & should open to "My
AutoText".

- Give it a Name: Today's Date
- Give it a shortcut: today
- Click "AutoText" and "New"
- Click "Close"

That will save that autotext format to your autotext path/folder, and it
will be available for as long as you have that profile on your computer.
So that you don't have to replicate on multiple computers, you can copy
the mytexts.bau file in your profile to the other computers as well.

Now, let's test it out:

- in the doc type: today - and then press F3

You'll see that today's date with the correct format is inserted as a field.

Now let's test it in a new doc:

- Close the existing document, and if you wish, OOo. Open OOo and open
up a new, or any existing document you have handy.

- in the doc type: today - and then press F3

The date gets inserted in the format you wish.

You can adjust according to what you are comfortable with and also
create one for Date (fixed) and Date auto. You can also shorten the
shortcut to 't' for today's date, and 'd' for auto date etc. Whatever
you think your students will be comfortable with.

Again, please *only* reply to [EMAIL PROTECTED]

-- 
You have been cc'd on this reply as you have posted to an open OOo
mailing list. Please see: http://www.openoffice.org/mail_list.html for
details and how to subscribe or view the archives so that you may see
responses from other OOo users. Please *only* reply to [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to