iOS/Swift

[Swift] ํŠน์ • ๋‚ ์งœ/์‹œ๊ฐ„ DateComponents to Date

Calendar.current.date(from: DateComponents(year:2021, month: 7, day: 1))

* DateComponents๋Š” ํŒŒ๋ผ๋ฏธํ„ฐ๊ฐ€ ๋ชจ๋‘ ์˜ต์…”๋„์ด๋ผ ์›ํ•˜๋Š” ํŒŒ๋ผ๋ฏธํ„ฐ๋งŒ ๋„ฃ์–ด์„œ ์‚ฌ์šฉ ๊ฐ€๋Šฅ!