lnd-demo-app/wallet/Utils/Extensions/Int64.swift

16 lines
265 B
Swift
Raw Normal View History

2023-06-08 06:36:06 +00:00
//
// Date.swift
// wallet
//
// Created by Adriana Epure on 24.08.2022.
// Copyright © 2022 Jason. All rights reserved.
//
import Foundation
extension Int64{
func getAsDate()->Date{
return Date(timeIntervalSince1970: TimeInterval(self))
}
}