DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 31st August 2009
cksraj cksraj is offline
Real Name: Crew Kasy Raj
Port Guard
 
Join Date: Mar 2009
Posts: 12
Unhappy Get the Days of the Week

Hi All

I would like to get the days of the week. I could able to find the no of weeks for the month. But I want to list the days of the perticular week in drop down.

For examble;(year is 2009)

if I say First week of August
then days of the week = 'Saturday'.
if I say Second week of August
then days of the week = 'Sunday','Monday','Tuesday','Wednesday','Thursday' ,'Friday','Saturday'.
...

if I say Sixth week of August
then days of the week = 'Sunday','Monday'.

Anybody can help me in this?

Thanks
Crew Kasy Raj
Reply With Quote
 

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
my X11 or Gnome kill after 5 days mfaridi FreeBSD General 14 13th November 2008 04:27 AM


All times are GMT. The time now is 06:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick