Moment.js - A lightweight javascript date library JavaScriptã§ã®æ¥ä»ã®å¦çãè¶
便å©ã«ãªããMoment.jsã 以ä¸ã«ã§ãããã¨ãã¾ã¨ãã¦ã¿ã¾ã æååãããã¼ã¹ãã¦æ¥ä»ãªãã¸ã§ã¯ããçæ UNIXã®ã¿ã¤ã ã¹ã¿ã³ãããæ¥ä»ãªãã¸ã§ã¯ããçæ ãDec 25, 1995ãã¿ãããªæååããæ¥ä»ãªãã¸ã§ã¯ããçæ æ¥ä»ãªãã¸ã§ã¯ãã«æéãç°¡åã« ãå ç®ã»æ¸ç® æå®æ¥æããã®çµéæéãåå¾ ãªãã¸ã§ã¯ãããã¼ã¹ã«ãã©ã¼ããããã¦åºåãã moment(date).format("dddd, MMMM Do YYYY, h:mm:ss a"); phpã«ãdateã¨ããé¢æ°ãstrtotimeã¨ããé¢æ°ããã£ãããã¾ããããããã便å©æ©è½ãJSã§ã使ããã¨ãåºæ¥ããããªãã®ã§ãã æ¥ä»ãããã¼ã«ä½¿ããããªãããã¯ãã§ä½¿ãããã§ããã ãµã¤
{{#tags}}- {{label}}
{{/tags}}