Closed Thread Icon

Preserved Topic: PHP: how to get actual date? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=21043" title="Pages that link to Preserved Topic: PHP: how to get actual date? (Page 1 of 1)" rel="nofollow" >Preserved Topic: PHP: how to get actual date? <span class="small">(Page 1 of 1)</span>\

 
GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-19-2001 11:55

how can i get the actual date in the format:
2001-07-19
?

thank you!

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 07-19-2001 13:52

date("Y-m-d");

- Resolutions, Of All My Fruitless Searches -

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 07-19-2001 16:57

date()



[This message has been edited by WarMage (edited 07-19-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-19-2001 18:10

XV. Date and Time functions

timothymcnulty
Neurotic (0) Inmate
Newly admitted
posted posted 07-19-2001 21:03

PHP Manuals

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-19-2001 21:46

PHP Manual (HTML Version) Direct Download

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 07-19-2001 23:30

I like the HELP file version. It's searchable!

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-19-2001 23:38

Actually, contents (left pane) is screwed in the help version of the manual (just compare it to the HTML version).

BTW you can search HTML files, too...

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 07-20-2001 02:46

I don't know if I can do this in UBB but here's a try

This works in IE 5+ make a new favorite with this as the link. I think to do this. Add a favortie to any page. (this one is fine)

Go to favorites >> Organize Favoritess.

Rename the link to PHP Quick Ref.
Then right click on the link in the tree window and select properties you should be able to change the linkto this.

javascript:void(q=prompt('PHP%20Reference:',''));if(q)location.href='http://www.php.net/manual-lookup.php?lang=en&function='+escape(q)


Walking the Earth like Kane

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 07-20-2001 07:13

aha aha aha.

thank you, people!

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 07-20-2001 13:57

Bitdamaged, that ROCKS. I didn't know you could do that!

ian
Nervous Wreck (II) Inmate

From: Fresno, CA
Insane since: Jun 2001

posted posted 07-20-2001 17:37

Wow. Bitdamaged, that is SWEEET man!

I owe you a beer.

-i

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 07-20-2001 17:56

That "quick tip" has been posted last year at the PHP's web site: http://www.php.net/manual/en/

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 07-20-2001 19:19

Yup yup

Can't take credit. Got it from the PHP site (couldn't remember where I found it)


Walking the Earth like Kane

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 07-20-2001 19:37

That's really awesome!

The other quick tip on php.net on using quick search in IE5 works nicely also. Once you set it up, all I have to do is type "php fgets" or whatever function you looking for, right in the address bar.

Sweet!

« BackwardsOnwards »

Show Forum Drop Down Menu