Nmap Development mailing list archives

Re: time formats


From: David Fifield <david () bamsoftware com>
Date: Mon, 18 Apr 2011 16:13:17 -0700

On Tue, Apr 19, 2011 at 02:09:58AM +0300, Toni Ruottu wrote:
Does NSE have a library for turning a UNIX time stamp into a more
human readable format? I looked around and found some time conversion
related functions, but not a one that would do this.

Yes, try the Lua os.date function. Also see the http-date script for
some examples of date handling.

http://www.lua.org/pil/22.1.html

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: