Consultor Eletrônico



Kbase P99162: How to know the week number of a date within 4GL?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/20/2005
Status: Unverified

GOAL:

How to use the INTERVAL Function

GOAL:

How to know the week number of a date within 4GL?

FACT(s) (Environment):

OpenEdge 10

FIX:

DEF VAR BeginingOfTheYear AS DATE INIT 01/01/2004.
DISPLAY "The week number of today is : " INTERVAL(TODAY, BeginingOfTheYear, 'weeks').