Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
klam klam is offline
external usenet poster
 
Posts: 42
Default define leap year

Year 2008 is a leap year and every 4 years Feb will have 29.

We provide contract on annual bases and the calcualtion is based on 365 days

if the period contain Feb 29 2008 then the annual contract day will be 366
days
if this is the case tell the computer it should be 365
and how can my database will recvcognize it t=in furutre leap year.


klam
  #2   Report Post  
Posted to microsoft.public.word.newusers
macropod macropod is offline
external usenet poster
 
Posts: 1,002
Default define leap year

Hi Klam,

This question does not appear to relate to Microsoft Word.

Having said that, a contract on annual basis should not ignore leap years - either they're 365-day contracts, or they're annual
contracts (which implicitly allow for the possibility that the terms of the contracts include 29 Feb in a leap year).

Plus, the leap year formula is a bit more complicated:

If year mod 400 = 0 then
'Leap Year'
ElseIf year mod 100 = 0 then
'Not Leap Year'
ElseIf year mod 4 = 0 then
'Leap Year'
Else
'Not Leap Year'
End If

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"Klam" wrote in message ...
Year 2008 is a leap year and every 4 years Feb will have 29.

We provide contract on annual bases and the calcualtion is based on 365 days

if the period contain Feb 29 2008 then the annual contract day will be 366
days
if this is the case tell the computer it should be 365
and how can my database will recvcognize it t=in furutre leap year.


klam


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Define a new Field Name KFeldman Mailmerge 1 July 11th 07 03:53 AM
how do you define confrontation psychfreek New Users 2 April 4th 06 11:42 PM
define quadding Angela Microsoft Word Help 3 March 16th 06 05:30 PM
Can I transfer my birthdays from year to year in a Word calendar? denzbunch Microsoft Word Help 1 December 17th 04 04:59 PM
define superscript josh Microsoft Word Help 1 December 15th 04 05:11 PM


All times are GMT +1. The time now is 06:26 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"