» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 68
0 members and 68 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Oral Chelation - initial cleansing of your veins & arteries

Register Now! Contact Us

About this Page
This is a discussion on php question - date format within the Open topics forums, part of the General category; Well, I'm playing with php, which can be dangerous I have the following Code: $date = $row4['date']; ...


Go Back   Nukemods Forum » General » Open topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-14-2005, 03:28 AM
Junior Member
 
Join Date: Mar 2005
Posts: 33
php question - date format
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
  #2 (permalink)  
Old 03-14-2005, 05:06 AM
Junior Member
 
Join Date: Nov 2004
Posts: 45
Re: php question - date format
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 08:04 AM
SpacePilot3K 6.5 Release Date Ghent Nuke 6.5 to 6.9 - Themes 1 05-15-2003 06:20 PM
How to format the menu like you guys did ? deoase Site design 4 03-13-2003 01:38 PM
Date not showing up anymore dac Purged Topics 11 03-03-2003 09:50 PM
Test post date, Joined date mikem Open topics 5 10-06-2002 03:56 PM


All times are GMT -5. The time now is 10:31 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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