NDAY

Contents


nday returns the number of days passed between 1/1/1600 and the parameter date.

 

Syntax

   nday(date_exp)

 

Parameters

 

Element

Description

Restrictions

date_exp

Date Expression

None

 

Examples

  X = nday(date$)

 

Description and Comments

The nday function allows you to go from a date to a number of days.

You may replace nday(DATE) with DATE - [01/01/1600].

The result type is Integer.

 

Associated Errors

Error

Description

ERMODE (10)

The parameter is invalid.

ERDATE (56)

Date invalid

 

Associated Keywords

DAY - MONTH - YEAR - DAY$ - MONTH$ - NDAY$ - DAYN - DATE


CONTENTS


Copyright © Sage 1999 - 2007