std-canonize-cdate


Synopsis

(std-canonize-cdate <cdate>)

Description

STD-CANONIZE-CDATE normalizes an irregular CDATE number.

For example it corrects the string representation of "32/1/98" to "1/2/98", in CDATE number representation: 19983201.0 -> 19980201.0

This function is rarely used.

Arguments

cdate: a real number, representing the calendar string

Return Value

A real number, in CDATE format.

Side Effects

None.

Module

(std-require 'STDTIME)

;|#- SMALL|;

Defined in STDTIME