how2 know day of week from 26-Nov-1999 format ?

how2 know day of week from 26-Nov-1999 format ?

i want to know that day is monday...friday ?

the time() functime count second since 1970.

i couldn't calculate those day into second and put in
gmtime( );

and then extract $day_of_week  from

      ($sec,$min,$hr,$day,$month,$year,$day_of_week,$day_of_year,$some) = gmtime( $those_day_time );

sorry for my poor english
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

use Time::Local;
$those_day_time = timegm(0,0,0,26,11-1,1999-1900);
use Date::Manip;

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tong111797Author Commented:
Thank you so much ozo...u r super geek...

how to give point to u...u always answer as comment  :>

by the way, I couldn't find the document of  timegm() function.

I think it is addition library function, right ?

but it works well.  the timegm() have only 6 parameters , right?
hr,min,sec,day,month,year ?

thank you again u help me so many time..
perldoc Time::Local
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.