Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Python

Using strftime

 
Jump to:  
 
frankrentef
PostPosted: Wed Sep 03, 2008 5:21 pm    Post subject: Using strftime
       
I have one line of code that put's an old date in my code.


ie.textBoxSet('_ct10_PlaceHolder_txtEnd', '8/15/2008')



What I wish to do in another similiar line is have the field populated
with the current system date? How best to do this? I've read some of
the strftime documentation but as of yet I'm unable to get it to work
correctly.


Help is appreciated.

THNX
 

 
Ahmed, Shakir
PostPosted: Wed Sep 03, 2008 5:21 pm    Post subject: RE: Using strftime
       
You can try

Import time
mytimeymd = time.strftime('%y%m%d')

print mytimeymd


-----Original Message-----
From: python-list-bounces+shahmed=sfwmd.gov@python.org
[mailto:python-list-bounces+shahmed=sfwmd.gov@python.org] On Behalf Of
frankrentef
Sent: Wednesday, September 03, 2008 1:21 PM
To: python-list@python.org
Subject: Using strftime

I have one line of code that put's an old date in my code.


ie.textBoxSet('_ct10_PlaceHolder_txtEnd', '8/15/2008')



What I wish to do in another similiar line is have the field populated
with the current system date? How best to do this? I've read some of
the strftime documentation but as of yet I'm unable to get it to work
correctly.


Help is appreciated.

THNX
--
LINK
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

motor trade insurance hale namiotowe kalkulator kredytowy zdjęcia f1 poker online