Solved

week of

Posted on 2011-03-10
3
357 Views
Last Modified: 2012-05-11
is there a way to display the date as a week
0
Comment
Question by:rgb192
3 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 300 total points
ID: 35097580
date("W", time());
 
0
 
LVL 4

Assisted Solution

by:Doug Walton
Doug Walton earned 200 total points
ID: 35098598
This link has all the different date formats for PHP:
http://us.php.net/manual/en/function.date.php

"W      ISO-8601 week number of year, weeks starting on Monday"
0
 

Author Closing Comment

by:rgb192
ID: 35099389
thanks
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses four methods for overlaying images in a container on a web page
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question