Hi, On 2016-03-25 14:27, Harsha Bellur wrote: > I am not sure if this topic has been broached before but is there a way I > can get time in miilisecond granularity?
TL;DR: require("socket").gettime() Lua generally only provides what C provides, and C does not provide sub-second precision time. Prosody uses the 'gettime' function from LuaSocket when it needs precision time, eg for timers and such. -- Kim "Zash" Alvefur -- You received this message because you are subscribed to the Google Groups "prosody-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to prosody-dev+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at https://groups.google.com/group/prosody-dev. For more options, visit https://groups.google.com/d/optout.
Description: OpenPGP digital signature