-
Notifications
You must be signed in to change notification settings - Fork 0
/
datetime.js
105 lines (64 loc) · 1.37 KB
/
datetime.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
var moment = require('moment');
/**
*
* @param {*} date Required. Any valid date expression (like Date() or Now())
*/
function CDate(date) {
}
/**
*
* @param {*} interval Required. The interval you want to add
* Can take the following values:
* yyyy - Year
* q - Quarter
* m - Month
* y - Day of year
* d - Day
* w - Weekday
* ww - Week of year
* h - Hour
* n - Minute
* s - Second
* @param {*} number Required. The number of interval you want to add. Can either be positive, for dates in the future, or negative, for dates in the past
* @param {*} date Required. Variant or literal representing the date to which interval is added
*/
function DateAdd(interval, number, date) {
}
function DateDiff(interval, date1, date2, firstdayofweek, firstweekofyear) {
}
function DatePart(interval, date, firstdayofweek, firstweekofyear) {
}
function DateSerial(year, month, day) {
}
function DateValue(date) {
}
function Day(date) {
}
function FormatDateTime(date, format) {
}
function Hour(time) {
}
function IsDate(expression) {
}
function Minute(time) {
}
function Month(date) {
}
function MonthName(month, abbreviate) {
}
function Now() {
}
function Second(time) {
}
function Time() {
}
function Timer() {
}
function TimeSerial(hour, minute, second) {
}
function TimeValue(time) {
}
function Weekday(date, firstdayofweek) {
}
function Year(date) {
}