From 866e47ec5458c26296dc8296888d686535d57030 Mon Sep 17 00:00:00 2001 From: Kyle Luce Date: Thu, 3 Mar 2016 23:31:27 -0700 Subject: Added epoc to dictionary converter Useful for when user is storing time as epoc and wants to do operations on this time and then display in human readable form https://www.facebook.com/groups/godotengine/permalink/737469773056286/?comment_id=738011009668829&reply_comment_id=738192799650650¬if_t=group_comment_reply --- core/bind/core_bind.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/bind/core_bind.h') diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 2c43390d3..2fce33e67 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -208,6 +208,7 @@ public: void set_icon(const Image& p_icon); Dictionary get_date(bool utc) const; Dictionary get_time(bool utc) const; + Dictionary get_time_from_unix_time(uint64_t unix_time_val) const; Dictionary get_time_zone_info() const; uint64_t get_unix_time() const; uint64_t get_system_time_secs() const; -- cgit v1.2.3-70-g09d2