JULIAN

j = JULIAN (dmy | (d,m,y))

Returns the Julian date. Dates must be greater than 1/1/100 AD. The date can be passed as the string dmy with the format DD/MM/YYYY. Alternatively the date can be given by specificing the parameters d for days, m for months and y for years.

Example 1: Basic usage

PRINT Julian("31/12/2001")
PRINT Julian(31, 12, 2001)
PRINT Julian(DATE)

Example 2: Difference in days between two dates

today = Julian(Date())
past = Julian(31, 12, 2001)
print today - past; " days past since 31/12/2001"
Code samples using JULIAN
Date
If there is insufficient information on this page and you wish learn more about JULIAN, please send an email to smallbasic@gmail.com. You can help to improve information about JULIAN by submitting a pull request, click View Source for details. Note, an offline language reference text file is also available - see the Download section.