Index: pages/lang_datefunc.in ================================================================== --- pages/lang_datefunc.in +++ pages/lang_datefunc.in @@ -51,11 +51,11 @@ ^The datetime() function returns the date and time as text in their same formats: YYYY-MM-DD HH:MM:SS.
^(The julianday() function returns the
[http://en.wikipedia.org/wiki/Julian_day | Julian day] - the
-number of days since noon in Greenwich on November 24, 4714 B.C.
+fractional number of days since noon in Greenwich on November 24, 4714 B.C.
([http://en.wikipedia.org/wiki/Proleptic_Gregorian_calendar | Proleptic Gregorian calendar]).)^
^The unixepoch() function returns a unix timestamp - the number of seconds @@ -77,11 +77,11 @@
)^-
Function Equivalent strftime() + Function Equivalent (or nearly) strftime() date(...) strftime('%Y-%m-%d', ...) time(...) strftime('%H:%M:%S', ...) datetime(...) strftime('%Y-%m-%d %H:%M:%S', ...) - julianday(...) strftime('%J', ...) - unixepoch(...) strftime('%s', ...) + julianday(...) strftime('%J', ...) (inexact) + unixepoch(...) strftime('%s', ...) (inexact)
-The only reasons for providing functions other than strftime() is -for convenience and for efficiency. +The main reasons for providing functions other than strftime() are +for convenience and for efficiency. The julianday() and unixepoch() +functions return real and integer values respectively, and do not +incur the format conversion costs or inexactitude resulting from use +of the '%J' or '%s' format specifiers with the strftime() function.
^(A time value can be in any of the following formats shown below.