diff --git a/doc/index.html b/doc/index.html index b187d85..967ab6f 100644 --- a/doc/index.html +++ b/doc/index.html @@ -39,10 +39,10 @@ end --> Friday, November 13 2009 --> Friday, August 13 2010
-
24*60*60
seconds.24*60*60
seconds.Mon Jan 01 1000000 BCE 00:00:00
and less than
Mon Jan 01 1000001 00:00:00
.Local = UTC + bias
os.date
and os.time
.
@@ -64,9 +64,9 @@ end
describe in the date library __call method.
string
, it must be the name of the month full or abrrieviated.
+ If the value is a string
, it must be the name of the month full or abbreviated.
If the value is a number
, that number must be 1-12 (January-December). see table below
- Table 1.
Index | Abbriviation | Full Name |
---|---|---|
1 | Jan | January |
2 | Feb | February |
3 | Mar | March |
4 | Apr | April |
5 | May | May |
6 | Jun | June |
7 | Jul | July |
8 | Aug | August |
9 | Sep | September |
10 | Oct | October |
11 | Nov | November |
12 | Dec | December |
+
Table 1.
Index | Abbreviation | Full Name |
---|---|---|
1 | Jan | January |
2 | Feb | February |
3 | Mar | March |
4 | Apr | April |
5 | May | May |
6 | Jun | June |
7 | Jul | July |
8 | Aug | August |
9 | Sep | September |
10 | Oct | October |
11 | Nov | November |
12 | Dec | December |
If the value does not represent month, that is equivalent to passing a nil value.
date.diff(var_date1
,var_date2
)
Success | The resulting dateObject |
Failure | nil. |
-- get the days between two dates