Home page logo

nmap-dev logo 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.


David Fifield
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/

  By Date           By Thread  

Current thread:
  • time formats Toni Ruottu (Apr 18)
    • Re: time formats David Fifield (Apr 18)
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]