yearend - 指令碼與圖表函數
此函數傳回的值相當於包含 date 的年份最後一天、最後一毫秒的時間戳記。預設的輸出格式為指令碼中所設定的 DateFormat。
Syntax:
YearEnd( date[, period_no[, first_month_of_year = 1]])
Return data type: 雙值
Arguments:
引數 | 描述 |
---|---|
date | 待評估的日期。 |
period_no | period_no 為整數,其中值 0 表示是包含 date 的年份。負值的 period_no 表示之前的年度,正值表示之後的年度。 |
first_month_of_year | 如果要使用不起始於 1 月的 (會計) 年度,可在 first_month_of_year 中指定介於 2 和 12 之間的值。 |