Digital ACT-191 ONEAPP-7958 story: added missing date function

This commit is contained in:
vasavk 2024-05-08 12:03:57 +05:30
parent 8d415a72f1
commit 80f90e0b56

View File

@ -62,4 +62,7 @@ extension Date {
Calendar.current.component(.month, from: self)
}
var dayInt: Int {
Calendar.current.component(.day, from: self)
}
}