Áú»¢¶Ä²©

3 §¶§å§ß§Ü§è§Ú?§Ö §Õ§Ñ§ä§å§Þ§Ñ §Ú §Ó§â§Ö§Þ§Ö§ß§Ñ

§³§Ó§Ö §æ§å§ß§Ü§è§Ú?§Ö §ß§Ñ§Ó§Ö§Õ§Ö§ß§Ö §à§Ó§Õ§Ö §ã§å §á§à§Õ§â§Ø§Ñ§ß§Ö §å:

§¶§å§ß§Ü§è§Ú?§Ö §Õ§Ñ§ä§å§Þ§Ñ §Ú §Ó§â§Ö§Þ§Ö§ß§Ñ §ß§Ö §Þ§à§Ô§å §ã§Ö §Ü§à§â§Ú§ã§ä§Ú§ä§Ú §å §Ú§Ù§â§Ñ§Ù§å §ã§Ñ§Þ§Ö; §ß§Ñ?§Þ§Ñ?§Ö ?§Ö§Õ§ß§Ñ §æ§å§ß§Ü§è§Ú?§Ñ §Ú§Ù §Õ§â§å§Ô§Ö §Ô§â§å§á§Ö, §Ü§à?§Ñ §å§á§å?§å?§Ö §ß§Ñ §ã§ä§Ñ§Ó§Ü§å §Õ§à§Þ§Ñ?§Ú§ß§Ñ, §Þ§à§â§Ñ §Ò§Ú§ä§Ú §å§Ü?§å§é§Ö§ß§Ñ §å §Ú§Ù§â§Ñ§Ù (§à§ã§Ú§Þ §æ§å§ß§Ü§è§Ú?§Ö nodata()). §©§Ñ §Õ§Ö§ä§Ñ?§ß§Ö §Ú§ß§æ§à§â§Þ§Ñ§è§Ú?§Ö §à §ä§à§Þ§Ö §Ü§Ñ§Ü§à §æ§å§ß§Ü§è§Ú?§Ö §Õ§Ñ§ä§å§Þ§Ñ §Ú §Ó§â§Ö§Þ§Ö§ß§Ñ §æ§å§ß§Ü§è§Ú§à§ß§Ú§ê§å §å §Ú§Ù§â§Ñ§Ù§Ú§Þ§Ñ, §á§à§Ô§Ý§Ö§Õ§Ñ?§ä§Ö §£§â§Ö§Þ§Ö §Ú§Ù§â§Ñ§é§å§ß§Ñ§Ó§Ñ?§Ñ.

§¶§å§ß§Ü§è§Ú?§Ö §ã§å §ß§Ñ§Ó§Ö§Õ§Ö§ß§Ö §Ò§Ö§Ù §Õ§à§Õ§Ñ§ä§ß§Ú§ç §Ú§ß§æ§à§â§Þ§Ñ§è§Ú?§Ñ. §¬§Ý§Ú§Ü§ß§Ú§ä§Ö §ß§Ñ §æ§å§ß§Ü§è§Ú?§å §Õ§Ñ §Ò§Ú§ã§ä§Ö §Ó§Ú§Õ§Ö§Ý§Ú §ã§Ó§Ö §Õ§Ö§ä§Ñ?§Ö.

Function Description
date §´§â§Ö§ß§å§ä§ß§Ú §Õ§Ñ§ä§å§Þ §å §æ§à§â§Þ§Ñ§ä§å YYYYMMDD.
dayofmonth §¥§Ñ§ß §å §Þ§Ö§ã§Ö§è§å §å §â§Ñ§ã§á§à§ß§å §à§Õ 1 §Õ§à 31.
dayofweek §¥§Ñ§ß §å §ß§Ö§Õ§Ö?§Ú §å §â§Ñ§ã§á§à§ß§å §à§Õ 1 §Õ§à 7.
now §¢§â§à? §ã§Ö§Ü§å§ß§Õ§Ú §à§Õ §Ö§á§à§ç§Ö (00:00:00 UTC, 1. ?§Ñ§ß§å§Ñ§â§Ñ 1970.).
time §´§â§Ö§ß§å§ä§ß§à §Ó§â§Ö§Þ§Ö §å HHMMSS §æ§à§â§Þ§Ñ§ä§å.

§¥§Ö§ä§Ñ?§Ú §æ§å§ß§Ü§è§Ú?§Ö

date

§´§â§Ö§ß§å§ä§ß§Ú §Õ§Ñ§ä§å§Þ §å §æ§à§â§Þ§Ñ§ä§å YYYYMMDD.

§±§â§Ú§Þ§Ö§â:

date()<20220101
dayofmonth

§¥§Ñ§ß §å §Þ§Ö§ã§Ö§è§å §å §â§Ñ§ã§á§à§ß§å §à§Õ 1 §Õ§à 31.

§±§â§Ú§Þ§Ö§â:

dayofmonth()=1
dayofweek

§¥§Ñ§ß §å §ß§Ö§Õ§Ö?§Ú §å §â§Ñ§ã§á§à§ß§å §à§Õ 1 §Õ§à 7 (§á§à§ß - 1, §ß§Ö§Õ - 7).

§±§â§Ú§Þ§Ö§â (§ã§Ñ§Þ§à §â§Ñ§Õ§ß§Ú§Þ §Õ§Ñ§ß§Ú§Þ§Ñ):

dayofweek()<6

§±§â§Ú§Þ§Ö§â (§ã§Ñ§Þ§à §Ó§Ú§Ü§Ö§ß§Õ):

dayofweek()>5
now

§¢§â§à? §ã§Ö§Ü§å§ß§Õ§Ú §à§Õ §¦§á§à§ç§Ö (00:00:00 UTC, 1. ?§Ñ§ß§å§Ñ§â 1970).

§±§â§Ú§Þ§Ö§â:

now()<1640998800
time

§´§â§Ö§ß§å§ä§ß§à §Ó§â§Ö§Þ§Ö §å HHMMSS §æ§à§â§Þ§Ñ§ä§å.

§±§â§Ú§Þ§Ö§â (§ã§Ñ§Þ§à §ß§à?§å, 00:00-06:00):

time()<060000

§±§à§Ô§Ý§Ö§Õ§Ñ?§ä§Ö §ã§Ó§Ö §á§à§Õ§â§Ø§Ñ§ß§Ö §æ§å§ß§Ü§è§Ú?§Ö.