메소드 | 설명 | |
---|---|---|
Add ( Primitive date, Primitive offset ) : Primitive |
Calculate a date from input date and an offset in days.
|
|
FromOADate ( Primitive OAdate ) : Primitive |
Convert OADate to date string.
|
|
GetDay ( Primitive OAdate ) : Primitive |
Get day of the month from OADate.
|
|
GetDayName ( Primitive OAdate ) : Primitive |
Get day of the week from OADate.
|
|
GetHour ( Primitive OAdate ) : Primitive |
Get hour from OADate.
|
|
GetMinute ( Primitive OAdate ) : Primitive |
Get minute from OADate.
|
|
GetMonth ( Primitive OAdate ) : Primitive |
Get month from OADate.
|
|
GetMonthName ( Primitive OAdate ) : Primitive |
Get month name from OADate.
|
|
GetSecond ( Primitive OAdate ) : Primitive |
Get second from OADate.
|
|
GetYear ( Primitive OAdate ) : Primitive |
Get year from OADate.
|
|
Now ( ) : Primitive |
The current date and time.
|
|
NowOADate ( ) : Primitive |
The current OADate.
|
|
OADate ( Primitive year, Primitive month, Primitive day, Primitive hour, Primitive minute, Primitive second ) : Primitive |
Create OADate from date and time values.
|
|
Subtract ( Primitive date1, Primitive date2 ) : Primitive |
Calculate a number of days between two dates.
|
|
ToOADate ( Primitive date ) : Primitive |
Convert date string to OADate.
|
public static Add ( Primitive date, Primitive offset ) : Primitive | ||
date | Primitive | The input date. |
offset | Primitive | An offset in days. |
리턴 | Primitive |
public static FromOADate ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate to convert. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static GetDay ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static GetDayName ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static GetHour ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static GetMinute ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static GetMonth ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static GetMonthName ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static GetSecond ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static GetYear ( Primitive OAdate ) : Primitive | ||
OAdate | Primitive | /// The OADate. /// /// The number of days since 30 December 1899 (OADate). /// |
리턴 | Primitive |
public static OADate ( Primitive year, Primitive month, Primitive day, Primitive hour, Primitive minute, Primitive second ) : Primitive | ||
year | Primitive | /// The year. /// |
month | Primitive | /// The month. /// |
day | Primitive | /// The day. /// |
hour | Primitive | /// The hour. /// |
minute | Primitive | /// The minute. /// |
second | Primitive | /// The second. /// |
리턴 | Primitive |
public static Subtract ( Primitive date1, Primitive date2 ) : Primitive | ||
date1 | Primitive | The input date1. |
date2 | Primitive | The input date2. |
리턴 | Primitive |
public static ToOADate ( Primitive date ) : Primitive | ||
date | Primitive | /// The date string to convert. /// /// The format is "25/01/2012 22:18:52", the time part is optional. /// The date part will be dependent on your locale, e.g. in US it will be "01/25/2012 22:18:52". /// |
리턴 | Primitive |