Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

date function problem

Status
Not open for further replies.

aldumil

Programmer
Sep 3, 2001
40
0
0
JP
yah, well I have a blog and the day of the week the month and day of the month is put above the message. Well all the dates say October 10. And no I didn't post everything on the 10th either. Any ideas?
(my site is )
 
I use:::
<?PHP print date(&quot; D. F n&quot;); ?>
as the code for the date and I simply have the date set as the value for a hidden form field and then publish it to a text file using fopen() ???
 
Isnt ure last date the tenth of october? so u are parsing the messages but u overwrite the date constantly?

And what do u mean publish it in a text file? u are having a weblog (excuse me for not saying blog, i hate the word) that is using plain text files? or do u have a database? mcvdmvs
-- &quot;It never hurts to help&quot; -- Eek the Cat
 
Maybe the point in (&quot;D. F n&quot;) is doing that?
And is ure timestamp correct?
Where do u get the timestamp from and how are u writing it to the file?
Im wondering why the day is correct but the daynumber is not.
Are u using setlocale to set the locales for time?

Im fishing as u are, i dont know either... never encountered this problem mcvdmvs
-- &quot;It never hurts to help&quot; -- Eek the Cat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top