Re: Dumb Question of the day (maybe year)



HawkEye wrote:
Terry wrote:
[snip]
I have now - same result.
"2001-21-06";hello; \r\n
"20002106";goodby; \r\n
Yields:
Date           comment
0000-00-00     hello
0000-00-00     goodby


Are you trying to use the current date (ie today) ? If so use curdate() or now(). One is for date and one datetime (I forget which)

No, I am making a calendar of events php page for a ymca - they will need to input a future date and the event to take place. It should be simple. I found all kinds of info on how to format the output date <grr>once I find how to get the cursed thing in using a text file</grr> is my problem.


Thanks

--
TK
http://www.wejuggle2.com/
Still Having a Ball







..

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
.



Relevant Pages

  • Re: Its time to bring more technology in the game
    ... >> Both the umpires and hawkeye base their decisions on certain ... How can you be sure that the umpire is correct. ... >> by which it decides the probable trajectory of the ball. ... the nature of lbw decisions ...
    (rec.sport.cricket)
  • Re: Broad 93 mph
    ... hawkeye was I think 3mm accurate on pitching. ... tracks the ball in flight, which may well be pretty accurate, but how ... neccessarily a prediction, there is a fundamental distinction between ... future event. ...
    (uk.sport.cricket)
  • Re: Dates
    ... I have never ever had any problems with a date in ISO 8601 format. ... The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. ... System.Data.Common.DbDataAdapter.FillFromReader(Object data, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue) +260 ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Its time to bring more technology in the game
    ... your observations and examples regarding hawkeye ... For up until the ball hits the batsman its trajectory ... show the ball moving smoothly from its position in frame 1 to its ... Assuming that there was no bat involved, this isn't much of a problem ...
    (rec.sport.cricket)
  • Re: Its time to bring more technology in the game
    ... your observations and examples regarding hawkeye ... For up until the ball hits the batsman its trajectory ... > position in frame 2. ...
    (rec.sport.cricket)