{"id":25864,"date":"2024-10-27T06:48:11","date_gmt":"2024-10-27T06:48:11","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=25864"},"modified":"2024-11-26T07:53:36","modified_gmt":"2024-11-26T07:53:36","slug":"%eb%a6%ac%ec%95%a1%ed%8a%b8-%ea%b0%95%ec%a2%8c-date-%ea%b0%9d%ec%b2%b4%ec%99%80-%eb%82%a0%ec%a7%9c","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/25864\/","title":{"rendered":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc"},"content":{"rendered":"<p><body><\/p>\n<p>\n        \ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc740 \ud2b9\ud788 \uc911\uc694\ud569\ub2c8\ub2e4. \uc57d\uc18d, \uc77c\uc815, \ud0c0\uc784\ub77c\uc778, \uce74\uc6b4\ud2b8\ub2e4\uc6b4 \ub4f1 \ub2e4\uc591\ud55c \uae30\ub2a5\uc774 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc5d0 \uc758\uc874\ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 JavaScript\uc758 <strong>Date \uac1d\uccb4<\/strong>\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uace0, \ub9ac\uc561\ud2b8(React) \ud658\uacbd\uc5d0\uc11c \uc774 \uac1d\uccb4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub17c\uc758\ud560 \uac83\uc785\ub2c8\ub2e4.\n    <\/p>\n<h2>Date \uac1d\uccb4\ub780?<\/h2>\n<p>\n        JavaScript\uc758 <strong>Date \uac1d\uccb4<\/strong>\ub294 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ub098\ud0c0\ub0b4\uace0 \uc870\uc791\ud558\uae30 \uc704\ud55c \ub0b4\uc7a5 \uac1d\uccb4\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790\ub294 \ub2e4\uc591\ud55c \ud615\uc2dd\uc758 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \uc0dd\uc131\ud558\uace0, \ube44\uad50\ud558\uba70, \ud3ec\ub9f7\ud305\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h3>Date \uac1d\uccb4 \uc0dd\uc131\ud558\uae30<\/h3>\n<p>\n        Date \uac1d\uccb4\ub294 \ub2e4\uc591\ud55c \ubc29\ubc95\uc73c\ub85c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uac00\uc7a5 \uae30\ubcf8\uc801\uc778 \ubc29\ubc95\uc740 <code>new Date()<\/code> \uc0dd\uc131\uc790\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc774\ub54c \uc778\uc790\ub97c \uc81c\uacf5\ud558\uc9c0 \uc54a\uc73c\uba74 \ud604\uc7ac \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc774 \ubc18\ud658\ub429\ub2c8\ub2e4.\n    <\/p>\n<pre><code>const now = new Date();<\/code><\/pre>\n<p>\n        \ub610\ud55c, \ud2b9\uc815 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \uc9c0\uc815\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798 \uc608\uc2dc\ub294 2023\ub144 10\uc6d4 1\uc77c\uc758 Date \uac1d\uccb4\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n    <\/p>\n<pre><code>const specificDate = new Date('2023-10-01T00:00:00');<\/code><\/pre>\n<h3>\ub0a0\uc9dc \ud3ec\ub9f7\ud305\ud558\uae30<\/h3>\n<p>\n        Date \uac1d\uccb4\ub97c \uc0dd\uc131\ud55c \ud6c4\uc5d0, \ub2e4\uc591\ud55c \uba54\uc11c\ub4dc\ub97c \uc774\uc6a9\ud574 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ud3ec\ub9f7\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <code>toLocaleDateString()<\/code>\uacfc <code>toLocaleTimeString()<\/code> \uba54\uc11c\ub4dc\ub97c \uc774\uc6a9\ud574 \uc0ac\uc6a9\uc790\uc758 \uc9c0\uc5ed \uc124\uc815\uc5d0 \ub9de\ub294 \ud615\uc2dd\uc73c\ub85c \ubcc0\ud658\ud574\uc904 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>const options = { year: 'numeric', month: 'long', day: 'numeric' };\nconsole.log(now.toLocaleDateString('ko-KR', options)); \/\/ 2023\ub144 10\uc6d4 1\uc77c\n<\/code><\/pre>\n<h2>\ub9ac\uc561\ud2b8\uc5d0\uc11c\uc758 Date \uac1d\uccb4 \uc0ac\uc6a9\ud558\uae30<\/h2>\n<p>\n        \ub9ac\uc561\ud2b8 \uc571\uc5d0\uc11c Date \uac1d\uccb4\ub97c \uc0ac\uc6a9\ud560 \ub54c, \uc0c1\ud0dc\ub97c \uad00\ub9ac\ud558\ub294 \ucef4\ud3ec\ub10c\ud2b8\uc5d0\uc11c \uc774\ub97c \uc27d\uac8c \ud65c\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \uc0ac\uc6a9\uc790\uc758 \ud604\uc7ac \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ud45c\uc2dc\ud558\ub294 \uac04\ub2e8\ud55c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub9cc\ub4e4\uc5b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>import React, { useState, useEffect } from 'react';\n\nconst CurrentDateTime = () =&gt; {\n    const [dateTime, setDateTime] = useState(new Date());\n\n    useEffect(() =&gt; {\n        const timerID = setInterval(() =&gt; {\n            setDateTime(new Date());\n        }, 1000);\n\n        return () =&gt; clearInterval(timerID);\n    }, []);\n\n    return (\n        <div>\n            <h2>\ud604\uc7ac \ub0a0\uc9dc\uc640 \uc2dc\uac04: {dateTime.toLocaleString('ko-KR')}<\/h2>\n        <\/div>\n    );\n};\n\nexport default CurrentDateTime;<\/code><\/pre>\n<h3>\uc0c1\ud0dc \uad00\ub9ac\uc640 \ub9ac\uc561\ud2b8 \ud6c5<\/h3>\n<p>\n        \uc704\uc758 \uc608\uc81c\uc5d0\uc11c\ub294 <code>useState<\/code> \ud6c5\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc0c1\ud0dc\ub97c \uad00\ub9ac\ud558\uace0, <code>useEffect<\/code> \ud6c5\uc744 \uc774\uc6a9\ud574 \ucef4\ud3ec\ub10c\ud2b8\uac00 \ub9c8\uc6b4\ud2b8\ub420 \ub54c\ub9c8\ub2e4 \ud604\uc7ac \uc2dc\uac04\uc744 \ub9e4\ucd08 \uac31\uc2e0\ud558\ub3c4\ub85d \uc124\uc815\ud588\uc2b5\ub2c8\ub2e4. \uc774\ub807\uac8c \ud558\uba74 \uc0ac\uc6a9\uc790\uac00 \ud604\uc7ac \uc2dc\uac04\uc744 \uc2e4\uc2dc\uac04\uc73c\ub85c \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h2>\ub0a0\uc9dc \ube44\uad50\ud558\uae30<\/h2>\n<p>\n        Date \uac1d\uccb4\ub97c \ube44\uad50\ud558\uc5ec \ud2b9\uc815 \ub0a0\uc9dc\uac00 \uacfc\uac70\uc778\uc9c0, \ud604\uc7ac\uc778\uc9c0, \ubbf8\ub798\uc778\uc9c0 \ud310\ub2e8\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Date \uac1d\uccb4\ub294 \uae30\ubcf8\uc801\uc73c\ub85c \uc2dc\uac04 \uae30\uc900\uc73c\ub85c \uc22b\uc790\ub85c \ube44\uad50\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub450 Date \uac1d\uccb4\ub97c \ube44\uad50\ud560 \ub54c, \uc544\ub798\uc640 \uac19\uc774 \uac04\ub2e8\ud558\uac8c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>const date1 = new Date('2023-10-01');\nconst date2 = new Date('2023-11-01');\n\nif (date1 &lt; date2) {\n    console.log('date1\uc740 date2\ubcf4\ub2e4 \uacfc\uac70\uc785\ub2c8\ub2e4.');\n} else {\n    console.log('date1\uc740 date2\ubcf4\ub2e4 \ubbf8\ub798\uc785\ub2c8\ub2e4.');\n}<\/code><\/pre>\n<h2>\ub9ac\uc561\ud2b8\uc640 \ub0a0\uc9dc \ub77c\uc774\ube0c\ub7ec\ub9ac<\/h2>\n<p>\n        \ub9ac\uc561\ud2b8 \ud504\ub85c\uc81d\ud2b8\uc5d0\uc11c Date \uac1d\uccb4\uc758 \uae30\ubcf8 \uae30\ub2a5 \uc678\uc5d0\ub3c4 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ub354\uc6b1 \uc27d\uac8c \ub2e4\ub8e8\uae30 \uc704\ud574 \uc5ec\ub7ec \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub300\ud45c\uc801\uc73c\ub85c\ub294 <strong>moment.js<\/strong>, <strong>date-fns<\/strong>, <strong>day.js<\/strong> \ub4f1\uc774 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<h3>Moment.js \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>\n<strong>Moment.js<\/strong>\ub294 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \uc27d\uac8c \uc870\uc791\ud560 \uc218 \uc788\uac8c \ub3c4\uc640\uc8fc\ub294 \uc778\uae30 \uc788\ub294 \ub77c\uc774\ube0c\ub7ec\ub9ac\uc785\ub2c8\ub2e4. \uc124\uce58 \ud6c4 \uae30\ubcf8\uc801\uc73c\ub85c Date \uac1d\uccb4\ub97c \ud3ec\ub9f7\ud558\uace0, \ub0a0\uc9dc\ub97c \ube44\uad50\ud558\uba70, \ud2b9\uc815 \ub0a0\uc9dc\ub97c \uc0dd\uc131\ud558\ub294 \ub4f1\uc758 \uae30\ub2a5\uc744 \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>import moment from 'moment';\n\nconst formattedDate = moment().format('YYYY\ub144 MM\uc6d4 DD\uc77c HH\uc2dc mm\ubd84 ss\ucd08');\nconsole.log(formattedDate); \/\/ \uc608: 2023\ub144 10\uc6d4 01\uc77c 12\uc2dc 30\ubd84 15\ucd08\n<\/code><\/pre>\n<h3>Date-fns \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>\n<strong>date-fns<\/strong>\ub294 \ud6e8\uc52c \ub354 \uacbd\ub7c9\ud654\ub41c \ub77c\uc774\ube0c\ub7ec\ub9ac\ub85c, \ud544\uc694\ud560 \ub54c\ub9cc \ud568\uc218\ub97c \uc784\ud3ec\ud2b8\ud558\uc5ec \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ud568\uc218\ud615 \ud504\ub85c\uadf8\ub798\ubc0d \uc2a4\ud0c0\uc77c\uc744 \uac15\uc870\ud558\uba70, \ub2e4\uc591\ud55c \ub0a0\uc9dc \uad00\ub828 \uc791\uc5c5\uc744 \uc9c0\uc6d0\ud569\ub2c8\ub2e4.\n    <\/p>\n<pre><code>import { format } from 'date-fns';\n\nconst formattedDate = format(new Date(), 'yyyy\ub144 MM\uc6d4 dd\uc77c');\nconsole.log(formattedDate); \/\/ \uc608: 2023\ub144 10\uc6d4 01\uc77c\n<\/code><\/pre>\n<h2>\ud0c0\uc784\uc874 \uad00\ub9ac\ud558\uae30<\/h2>\n<p>\n        \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ucc98\ub9ac\ud560 \ub54c \ud0c0\uc784\uc874\ub3c4 \uc0dd\uac01\ud574\uc57c \ud560 \uc911\uc694\ud55c \uc694\uc18c\uc785\ub2c8\ub2e4. JavaScript\uc758 \uae30\ubcf8 Date \uac1d\uccb4\ub294 \ube0c\ub77c\uc6b0\uc800\uc758 \ud0c0\uc784\uc874\uc5d0 \ub530\ub77c \ub3d9\uc791\ud558\uc9c0\ub9cc, \ud45c\uc900\ud654\ub41c \uc2dc\uac04, \uc989 UTC\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\ub3c4 \uc911\uc694\ud569\ub2c8\ub2e4.\n    <\/p>\n<h3>\ud0c0\uc784\uc874 \ubcc0\uacbd\ud558\uae30<\/h3>\n<p>\n        moment.js\ub97c \uc0ac\uc6a9\ud558\uba74 \ud0c0\uc784\uc874\uc744 \uc27d\uac8c \ubcc0\uacbd\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. <strong>moment-timezone<\/strong>\uc744 \uc774\uc6a9\ud558\uc5ec \ud2b9\uc815 \ud0c0\uc784\uc874\uc73c\ub85c \ub0a0\uc9dc\ub97c \ubcc0\ud658\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>import moment from 'moment-timezone';\n\nconst newYorkTime = moment.tz('2023-10-01 12:00', 'America\/New_York');\nconsole.log(newYorkTime.format()); \/\/ \ub274\uc695 \ud0c0\uc784\uc874\uc758 \ud2b9\uc815 \uc2dc\uac04\n<\/code><\/pre>\n<h2>\ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5 \ub0a0\uc9dc \ucef4\ud3ec\ub10c\ud2b8 \ub9cc\ub4e4\uae30<\/h2>\n<p>\n        \ub9ac\uc561\ud2b8\uc5d0\uc11c\ub294 \ub0a0\uc9dc\ub97c \ud45c\uc2dc\ud558\ub294 \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5\ub41c \ucef4\ud3ec\ub10c\ud2b8\ub97c \ub9cc\ub4e4\uc5b4 UI\ub97c \uac1c\uc120\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4 \ub0a0\uc9dc \uc120\ud0dd\uae30\ub97c \ub9cc\ub4e4\uace0, \uc774\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790\uac00 \ub0a0\uc9dc\ub97c \uc27d\uac8c \uc120\ud0dd\ud560 \uc218 \uc788\ub3c4\ub85d \ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>import React, { useState } from 'react';\n\nconst DatePicker = () =&gt; {\n    const [selectedDate, setSelectedDate] = useState(new Date());\n\n    const handleChange = (event) =&gt; {\n        setSelectedDate(new Date(event.target.value));\n    };\n\n    return (\n        <div>\n            <h2>\uc120\ud0dd\ub41c \ub0a0\uc9dc: {selectedDate.toLocaleDateString()}<\/h2>\n            <input onchange=\"{handleChange}\" type=\"date\"\/>\n        <\/div>\n    );\n};\n\nexport default DatePicker;<\/code><\/pre>\n<h2>\ucd5c\uc2e0 \ub0a0\uc9dc \ub77c\uc774\ube0c\ub7ec\ub9ac \uc18c\uac1c<\/h2>\n<p>\n        \ucd5c\uadfc\uc5d0\ub294 \ubcf5\uc7a1\ud55c \ub0a0\uc9dc \ubc0f \uc2dc\uac04 \uad00\ub9ac\uc5d0 \ub3c4\uc6c0\uc744 \uc8fc\ub294 \ub2e4\uc591\ud55c \ub77c\uc774\ube0c\ub7ec\ub9ac\uac00 \ub4f1\uc7a5\ud588\uc2b5\ub2c8\ub2e4. <strong>Luxon<\/strong>\uc740 \uc6b0\ub9ac\uac00 \ud544\uc694\ud55c \uae30\ub2a5\uc744 \ubaa8\ub450 \uc81c\uacf5\ud558\uba70, \uad6d\uc81c\ud654\ub97c \uae30\ubcf8\uc73c\ub85c \uc9c0\uc6d0\ud558\uc5ec \uc11c\ub85c \ub2e4\ub978 \ud615\uc2dd\uc758 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \uc27d\uac8c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<pre><code>import { DateTime } from 'luxon';\n\nconst now = DateTime.now();\nconsole.log(now.toString()); \/\/ \ud604\uc7ac \ub0a0\uc9dc\uc640 \uc2dc\uac04 \ucd9c\ub825\n<\/code><\/pre>\n<h2>\uacb0\ub860<\/h2>\n<p>\n        JavaScript\uc758 Date \uac1d\uccb4\ub294 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ucc98\ub9ac\ud558\ub294 \ub370 \ub9e4\uc6b0 \uc720\uc6a9\ud569\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ubcf5\uc7a1\ud55c \uae30\ub2a5\uc774 \uc694\uad6c\ub418\uac70\ub098, \ub2e4\uc591\ud55c \ud615\ud0dc\uc758 \ud3ec\ub9f7\uc774 \ud544\uc694\ud560 \ub54c\ub294 \uc678\ubd80 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc0ac\uc6a9\ud558\ub294 \uac83\uc774 \ub354 \ud6a8\uc728\uc801\uc785\ub2c8\ub2e4. \ub9ac\uc561\ud2b8\uc5d0\uc11c\ub294 \uc0c1\ud0dc \ud6c5\uacfc \ub77c\uc774\ud504\uc0ac\uc774\ud074 \ud6c5\uc744 \ud65c\uc6a9\ud558\uc5ec Date \uac1d\uccb4\ub97c \uc720\uc6a9\ud558\uac8c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc73c\uba70, \ub2e4\uc591\ud55c \ub0a0\uc9dc \uad00\ub828 \uae30\ub2a5\uc744 \uc27d\uac8c \uad6c\ud604\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n    <\/p>\n<p>\n        \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 Date \uac1d\uccb4\uc758 \uae30\ubcf8 \uc0ac\uc6a9\ubc95\uacfc \ud568\uaed8 \ub9ac\uc561\ud2b8\uc5d0\uc11c\uc758 \ub2e4\uc591\ud55c \uc751\uc6a9 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc124\uba85\ud558\uc600\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uac1c\ubc1c\uc790\ub294 \ubcf4\ub2e4 \ud6a8\uacfc\uc801\uc73c\ub85c \ub0a0\uc9dc \ubc0f \uc2dc\uac04\uc744 \ub2e4\ub8f0 \uc218 \uc788\ub294 \ub2a5\ub825\uc744 \uac16\uac8c \ub420 \uac83\uc785\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uc0ac\ub840\ub97c \ud1b5\ud574 \ub354 \uae4a\uc774 \uc788\ub294 \uc774\ud574\ub97c \ub3d5\uaca0\uc73c\uba70, \ucd94\uac00\uc801\uc778 \uc2e4\uc2b5\uc744 \ud1b5\ud574 \uadf8 \uae30\ub2a5\uc744 \uc775\ud790 \uc218 \uc788\ub3c4\ub85d \ud558\uc2dc\uae38 \ubc14\ub78d\ub2c8\ub2e4.\n    <\/p>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc740 \ud2b9\ud788 \uc911\uc694\ud569\ub2c8\ub2e4. \uc57d\uc18d, \uc77c\uc815, \ud0c0\uc784\ub77c\uc778, \uce74\uc6b4\ud2b8\ub2e4\uc6b4 \ub4f1 \ub2e4\uc591\ud55c \uae30\ub2a5\uc774 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc5d0 \uc758\uc874\ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 JavaScript\uc758 Date \uac1d\uccb4\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uace0, \ub9ac\uc561\ud2b8(React) \ud658\uacbd\uc5d0\uc11c \uc774 \uac1d\uccb4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub17c\uc758\ud560 \uac83\uc785\ub2c8\ub2e4. Date \uac1d\uccb4\ub780? JavaScript\uc758 Date \uac1d\uccb4\ub294 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ub098\ud0c0\ub0b4\uace0 \uc870\uc791\ud558\uae30 \uc704\ud55c \ub0b4\uc7a5 \uac1d\uccb4\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790\ub294 \ub2e4\uc591\ud55c \ud615\uc2dd\uc758 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/25864\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[20],"tags":[],"class_list":["post-25864","post","type-post","status-publish","format-standard","hentry","category-20"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/25864\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"\ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc740 \ud2b9\ud788 \uc911\uc694\ud569\ub2c8\ub2e4. \uc57d\uc18d, \uc77c\uc815, \ud0c0\uc784\ub77c\uc778, \uce74\uc6b4\ud2b8\ub2e4\uc6b4 \ub4f1 \ub2e4\uc591\ud55c \uae30\ub2a5\uc774 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc5d0 \uc758\uc874\ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 JavaScript\uc758 Date \uac1d\uccb4\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uace0, \ub9ac\uc561\ud2b8(React) \ud658\uacbd\uc5d0\uc11c \uc774 \uac1d\uccb4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub17c\uc758\ud560 \uac83\uc785\ub2c8\ub2e4. Date \uac1d\uccb4\ub780? JavaScript\uc758 Date \uac1d\uccb4\ub294 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ub098\ud0c0\ub0b4\uace0 \uc870\uc791\ud558\uae30 \uc704\ud55c \ub0b4\uc7a5 \uac1d\uccb4\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790\ub294 \ub2e4\uc591\ud55c \ud615\uc2dd\uc758 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 &hellip; \ub354 \ubcf4\uae30 &quot;\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/25864\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-10-27T06:48:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T07:53:36+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/25864\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25864\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc\",\"datePublished\":\"2024-10-27T06:48:11+00:00\",\"dateModified\":\"2024-11-26T07:53:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25864\/\"},\"wordCount\":41,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"\ub9ac\uc561\ud2b8 \uae30\ucd08 \uac15\uc88c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/25864\/\",\"url\":\"https:\/\/atmokpo.com\/w\/25864\/\",\"name\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-10-27T06:48:11+00:00\",\"dateModified\":\"2024-11-26T07:53:36+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/25864\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/25864\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/25864\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/25864\/","og_locale":"ko_KR","og_type":"article","og_title":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"\ud604\ub300 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc740 \ud2b9\ud788 \uc911\uc694\ud569\ub2c8\ub2e4. \uc57d\uc18d, \uc77c\uc815, \ud0c0\uc784\ub77c\uc778, \uce74\uc6b4\ud2b8\ub2e4\uc6b4 \ub4f1 \ub2e4\uc591\ud55c \uae30\ub2a5\uc774 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc5d0 \uc758\uc874\ud558\uae30 \ub54c\ubb38\uc785\ub2c8\ub2e4. \uc774 \uac15\uc88c\uc5d0\uc11c\ub294 JavaScript\uc758 Date \uac1d\uccb4\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc0b4\ud3b4\ubcf4\uace0, \ub9ac\uc561\ud2b8(React) \ud658\uacbd\uc5d0\uc11c \uc774 \uac1d\uccb4\ub97c \ud6a8\uacfc\uc801\uc73c\ub85c \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \ub17c\uc758\ud560 \uac83\uc785\ub2c8\ub2e4. Date \uac1d\uccb4\ub780? JavaScript\uc758 Date \uac1d\uccb4\ub294 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 \ub098\ud0c0\ub0b4\uace0 \uc870\uc791\ud558\uae30 \uc704\ud55c \ub0b4\uc7a5 \uac1d\uccb4\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790\ub294 \ub2e4\uc591\ud55c \ud615\uc2dd\uc758 \ub0a0\uc9dc\uc640 \uc2dc\uac04\uc744 &hellip; \ub354 \ubcf4\uae30 \"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc\"","og_url":"https:\/\/atmokpo.com\/w\/25864\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-10-27T06:48:11+00:00","article_modified_time":"2024-11-26T07:53:36+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/25864\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/25864\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc","datePublished":"2024-10-27T06:48:11+00:00","dateModified":"2024-11-26T07:53:36+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/25864\/"},"wordCount":41,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["\ub9ac\uc561\ud2b8 \uae30\ucd08 \uac15\uc88c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/25864\/","url":"https:\/\/atmokpo.com\/w\/25864\/","name":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-10-27T06:48:11+00:00","dateModified":"2024-11-26T07:53:36+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/25864\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/25864\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/25864\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"\ub9ac\uc561\ud2b8 \uac15\uc88c: Date \uac1d\uccb4\uc640 \ub0a0\uc9dc"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25864","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=25864"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25864\/revisions"}],"predecessor-version":[{"id":25865,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/25864\/revisions\/25865"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=25864"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=25864"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=25864"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}