David wrote:


Doug Thompson wrote:

David wrote:

In Lotus Word Pro,
I can create a field in which I can calculate the date of the next Sunday,
and display it in the document according to a chosen date format.
viz:
now() + (6 - mod( truncate(now() / 86400)  - 4  , 7))*86400 %Dd

How can I do the same in OOo ? (ver 1.1.4 or 1.9.x WinXP)

Dave Legge



Doesn't "Help > date and time functions" give a clue?


No.

Does it give you a clue?
If so please share it.
Dave



Well, yeah, but only when dealing with a spreadsheet. Doh! I failed to latch onto the fact that you're trying to use Writer.

I have to agree that why there is such a radical difference between formulas in Calc and Writer is hard to understand. The process for doing calculations in Writer tables makes my teeth hurt I grind them so.

Would inserting a bit from Calc into your document be a workable solution to your problem? Just a thought, not really a suggestion.

Doug

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

Reply via email to