Latest0.1.0
Homepagehttps://github.com/killme3/YNFormattedDate
LicenseMIT Copyright 2018
Permission is granted to…
Platformsios 8.0
Authors

YNFormattedDate iOS Swift

How to convert format date, example from dd/MM/YYYY to MMM dd, yyyy

Install via CocoaPods

pod 'YNFormattedDate'

Usage

import YNFormattedDate

var formatDate = YNFormattedDate()
let dateNow = self.formatDate.formattedDateFromString(dateFormat: "dd/MM/yyyy", dateString: "24/06/2018", withFormat: "MMM dd, yyyy")
print("today is => (String(describing: dateNow))")

Latest podspec

{
    "name": "YNFormattedDate",
    "version": "0.1.0",
    "summary": "How to convert format Format Date",
    "description": "How to convert format Format Date, example dd/MM/YYYY to YYYY-MM-dd",
    "homepage": "https://github.com/killme3/YNFormattedDate",
    "license": {
        "type": "MIT",
        "text": "                   Copyright 2018n                   Permission is granted to...n"
    },
    "authors": {
        "Yana Mulyana": "[email protected]"
    },
    "source": {
        "git": "https://github.com/killme3/YNFormattedDate.git",
        "tag": "0.1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "YNFormattedDate/YNFormattedDate.swift"
}

Pin It on Pinterest

Share This