Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '[1]:': 0.09; '[2]:': 0.09; 'dan': 0.09; 'differently.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'windows,': 0.09; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'time.time()': 0.16; 'thursday,': 0.16; 'wrote:': 0.18; 'subject:need': 0.19; 'thu,': 0.19; 'import': 0.22; 'header:User- Agent:1': 0.23; 'specify': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'dec': 0.30; 'getting': 0.31; 'decimal': 0.31; 'probably': 0.32; 'know.': 0.32; 'subject:the': 0.34; 'subject:from': 0.34; 'december': 0.35; 'but': 0.35; 'version': 0.36; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; "you're": 0.61; 'email addr:gmail.com': 0.63; '26,': 0.68; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dave Angel Subject: Re: need to print seconds from the epoch including the millisecond Date: Thu, 26 Dec 2013 17:48:32 -0500 References: <59aa73ac-e06e-4c0e-83a4-147ac42cad2e@googlegroups.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: dpc6744192029.direcpc.com In-Reply-To: <59aa73ac-e06e-4c0e-83a4-147ac42cad2e@googlegroups.com> User-Agent: Groundhog Newsreader for Android X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388098035 news.xs4all.nl 2965 [2001:888:2000:d::a6]:38250 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:62754 On Thu, 26 Dec 2013 14:06:17 -0800 (PST), matt.doolittle33@gmail.com wrote: > On Thursday, December 26, 2013 2:22:10 PM UTC-5, Dan Stromberg wrote: > > In [1]: import time > > In [2]: time.time() > > Out[2]: 1388085670.1567955 > OK i did what you said but I am only getting 2 decimal places. You're probably on Windows, which does time differently. Specify your os version and python version and somebody will probably know. -- DaveA