Hi,
I'm trying to tweak another script, but I've having some problems. I hardly know perl, so I hope someone here can tell me how to do this.
What should I use to store the current day of the week (0-6) in a variable ( say $my_day_of_week ) using Time::Local ?
So on Sunday $my_day_of_week=0
on Monday $my_day_of_week=1
etc.
Thanks!
Robert
http://www.pcprofiles.com
PC Profiles and hardware reviews
I'm trying to tweak another script, but I've having some problems. I hardly know perl, so I hope someone here can tell me how to do this.
What should I use to store the current day of the week (0-6) in a variable ( say $my_day_of_week ) using Time::Local ?
So on Sunday $my_day_of_week=0
on Monday $my_day_of_week=1
etc.
Thanks!
Robert
http://www.pcprofiles.com
PC Profiles and hardware reviews