Now()

Carsten Haese carsten at uniqsys.com
Thu Apr 26 08:54:11 EDT 2007


On Thu, 2007-04-26 at 08:42 +0200, Hendrik van Rooyen wrote:
>  Robert Rawlins - Think Blue wrote:
> >With time depicted to the nearest second, from my background in ColdFusion
> development we used to have a >datetimeformat() function that I could use as
> >
> >DateTimeFormat(now(), yyyy-mm-dd HH:mm:ss)
> >
> >Which would give the current time a mask.
> 
> Here is a hack that does more or less what you want:
> [snip horrible hack...]

Please tell me you're not seriously suggesting this hack as a solution.

-Carsten





More information about the Python-list mailing list