473,378 Members | 1,564 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

change date format

Apache by default uses the following format for date:
30/Aug/2005

is there a module that turn this directly into yyyymmdd?

Xah
xa*@xahlee.org
∑ http://xahlee.org/

Aug 31 '05 #1
6 1842
[Xah Lee]
Apache by default uses the following format for date:
30/Aug/2005

is there a module that turn this directly into yyyymmdd?


Use time.strptime() and time.strftime().

Not a single occurrence of the f**k word. You're making progress. Keep it up!

--
Lars Gustäbel
la**@gustaebel.de

Truth is the invention of a liar.
(Anonymous)
Aug 31 '05 #2
Lars Gustäbel wrote:
Not a single occurrence of the f**k word. You're making progress.


perhaps, but why is he posting apache questions to the python list?

</F>

Aug 31 '05 #3

Fredrik Lundh wrote:
perhaps, but why is he posting apache questions to the python list?
The real question is why is he asking for our help at all, given:

Xah Lee wrote: Fuck the Python programing morons.


- alex23

Sep 1 '05 #4
alex23 wrote:
Fredrik Lundh wrote:
perhaps, but why is he posting apache questions to the python list?

The real question is why is he asking for our help at all, given:

Xah Lee wrote:
Fuck the Python programing morons.

He isn't asking for help. He's simply masturbating.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC http://www.holdenweb.com/

Sep 1 '05 #5
Steve Holden wrote:
He isn't asking for help. He's simply masturbating.


Now _that_ is how you kill a thread :)

- alex23

Sep 1 '05 #6
Oh, please! Even the most lopsided, opinionated, um, person could have
tried, oh, maybe, "time" as a possible module for this function?

What next? "Is there a module or class that will convert 'I have no
shame. ' to upper case, AND trim the trailing whitespace?" (Hint: it
has to do with 'string' data.)

-- Paul

Sep 1 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Laurence Neville | last post by:
This is regarding a change in the Short Date format under Hebrew Regional Settings, that has caused huge problems in our ASP web application. The change appears to have been introduced sometime...
10
by: rob | last post by:
I have a class that among others exposes a string property "Date". The date in this property is stored in the form yyyymmdd. Now I do the following 1) Generate a DataGridViewTextBoxColumn column...
1
by: Tee GEE | last post by:
I included my VBA below. I would like to change the font of the "strBody" to be Bold, italic, color, etc. The code that I attempted to write is identified by ***. Any help would be appreciated....
4
by: Orchid | last post by:
How can I change a Date datatype to a Number datatype? For example, I want a date 10/31/2006 to show 1031 as Number datatype. But I don't want it becomes 39021. What formula should I use? ...
3
by: Bface | last post by:
Hi all, Hope everyone had a good holiday. I am having a difficult time changing the date format of a field from Excel. I have never had this problem before. I link the excel spreadsheet to my DB,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.