Latest 1.0
Homepage https://github.com/hughbe/Date-WithoutTime
License MIT
Platforms ios 8.0
Authors

DateWithoutTime

A library that lets you get the date part only from a Swift Date object.

CI Status
Version
License
Platform

Usage

import DateWithoutTime

let date = Date() // E.g 2018-02-16 12:26
let dateWithoutTime = date.dateWithoutTime // E.g. 2018-02-16 00:00

Installation

DateWithoutTime is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod 'DateWithoutTime'

Latest podspec

{
    "name": "Date+WithoutTime",
    "version": "1.0",
    "summary": "A library that lets you get the date part only from a Swift Date object.",
    "description": "A library that lets you get the date part only from a Swift Date object. Useful for when you don't need the time of a Date.",
    "homepage": "https://github.com/hughbe/Date-WithoutTime",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "hughbe": "[email protected]"
    },
    "source": {
        "git": "https://github.com/hughbe/Date-WithoutTime.git",
        "tag": "1.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "swift_version": "4.0",
    "source_files": "src/*"
}

Pin It on Pinterest

Share This