Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 71
6 members and 65 guests
batckhroom9qclr, climckckwd8here, got2wpoap2gt9si, nhghgfdumaq4pst, shaqi5kerqlqbot, whyjjinternetvi
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > General > Open topics

Reply
 
LinkBack Thread Tools Display Modes
php question - date format
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 33
Join Date: Mar 2005
php question - date format - 03-14-2005, 02:28 AM

Well, I'm playing with php, which can be dangerous

I have the following
Code:
$date = $row4['date'];
which gives me the full date format of
Code:
2005-03-14 14:44:28
What function would I use to only get the date, such as
Code:
2005-03-14
Or even just
Code:
03-15
By the way, to get an idea of what I'm after, see what I have done already at http://lokrin.net/modules.php?name=Content. Look just under
Quote:
Newly added Content
Thanks;

Lokrin
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: php question - date format
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 45
Join Date: Nov 2004
Re: php question - date format - 03-14-2005, 04:06 AM

Quote:
Originally Posted by Lokrin
Well, I'm playing with php, which can be dangerous

Lokrin
your telling me lol .

look in a different theme that has the "date" style you want and see how it is written out , then maybe you can gather some clues ....
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to edit a theme, just need to learn format? saw_duuhst Nuke 6.5 to 6.9 - Themes 1 05-25-2003 07:04 AM
SpacePilot3K 6.5 Release Date Ghent Nuke 6.5 to 6.9 - Themes 1 05-15-2003 05:20 PM
How to format the menu like you guys did ? deoase Site design 4 03-13-2003 12:38 PM
Date not showing up anymore dac Purged Topics 11 03-03-2003 08:50 PM
Test post date, Joined date mikem Open topics 5 10-06-2002 02:56 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31