「Swift」時刻を取得するサンプル

サンプルコード
let fmt = DateFormatter()
fmt.dateFormat = DateFormatter.dateFormat(fromTemplate: “ydMMM", options: 0, locale: Locale(identifier: “ja_JP"))
fmt.string(from: date)

Swift

Posted by arkgame