contentsconceptssyntaxlibrariessampleserrorsindex
Full text search
function   ymdhms-julian-day-count    
      Other Library Functions  

Library: Date and Time
Include: omdate.xin
Returns: Numeric

Returns the Julian day of the specified date, with 1 January being day number 1 (one).

Declaration

  define counter function ymdhms-julian-day-count value stream ymd


Purpose

This function takes a date in "YYYYMMDD" format and returns the "Julian day" -- the number of the day within the year, with 1 January being day number 1 (one). The argument for this function can be longer, but the part beyond the date is ignored.

Argument:


  output "Julian day number of today = "  ||
     "d" format (ymdhms-julian-day-count now-as-ymdhms) || "%n"

        Other Library Functions
   add-to-ymdhms
   arpadate-to-ymdhms
   format-ymdhms
   now-as-ymdhms
   round-down-ymdhms
   round-up-ymdhms
   ymd-weekday
   ymdhms-adjust-time-zone
   ymdhms-day-difference
   ymdhms-julian-day-count
   ymdhms-month-difference
   ymdhms-second-difference
   ymdhms-to-arpadate
 
----  

Top [CONTENTS] [CONCEPTS] [SYNTAX] [LIBRARIES] [SAMPLES] [ERRORS] [INDEX]

Generated: April 21, 1999 at 2:01:22 pm
If you have any comments about this section of the documentation, send email to [email protected]

Copyright © OmniMark Technologies Corporation, 1988-1999.