Skip to content

Commit

Permalink
Update DateTime.UnixTime
Browse files Browse the repository at this point in the history
  • Loading branch information
maxim-uvarov authored May 20, 2018
1 parent 836ca6d commit 61558bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions DateTime.UnixTime
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
Convert unix timestamp into Power Query datetime formart
Usage: DateTime_UnixTime(1526800525) = 20.05.2018 7:15:25
*/

(unixtime as number) as datetime => #datetime(1970, 01 , 01, 0, 0, 0) + #duration(0,0,0,unixtime)

0 comments on commit 61558bb

Please sign in to comment.