[Sidefx-houdini-list] system(date) on Windows

Simon Barrick simon at primalpictures.com
Thu Apr 19 11:47:44 EDT 2007

I always use a python call

`system("python c:/ubin/datetime.py")`


import time
import sys
cd = time.asctime(time.gmtime(time.time()))
sys.stdout.write(cd + "\n")


-----Original Message-----
From: sidefx-houdini-list-bounces at sidefx.com
[mailto:sidefx-houdini-list-bounces at sidefx.com] On Behalf Of Ben
Sent: 19 April 2007 16:50
To: sidefx-houdini-list at sidefx.com
Subject: [Sidefx-houdini-list] system(date) on Windows

Hi there,

Does anyone know a trick to get a string containing the date+time from 
hscript on WindowsXp OS.

So something that would look like this on windows:
echo `system( date )`


Sidefx-houdini-list mailing list
Sidefx-houdini-list at sidefx.com

This communication is from Primal Pictures Ltd., a company registered in England and Wales with registration No. 02622298 and registered office: 2nd Floor, Tennyson House, 159-163 Great Portland Street, London, W1W 5PA, UK. VAT registration No. 648874577.

This e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient. If you have received it in error, please contact the sender immediately by return e-mail or by telephoning +44(0)20 7637 1010. Please then delete the e-mail and do not disclose its contents to any person.
This email has been scanned for Primal Pictures by the MessageLabs Email Security System.

More information about the Sidefx-houdini-list mailing list