10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a requirement where I have to pass Date to a script and get the day from it.
Ex If parameter is 2015-09-29
The output should be Tuesday.
Can you please tell me how to get that? (6 Replies)
Discussion started by: ashwin3086
2. Shell Programming and Scripting
i am writing a ksh shell script to check the last month end date whether it is falling in last 10 week day date, I am not sure How to use "Mr. Perderabo's date calculator", Could you Please let me know how to use to get my requirement, I tried my own script but duplicate week day and... (5 Replies)
Discussion started by: karthikram
3. Shell Programming and Scripting
I have a date in format YYYYMMDD, i need to get the day of the week from the given date. I am working in AIX system.
---------- Post updated at 09:59 AM ---------- Previous update was at 09:57 AM ----------
Tried to post sum of the thread's link from which i tried, but de rules didnt allow me... (9 Replies)
Discussion started by: baranisachin
4. Shell Programming and Scripting
I have a file that looks like:
I want the new file to show the day of... (3 Replies)
Discussion started by: castrojc
5. Shell Programming and Scripting
I have a problem of Finding Day of the week from date, but i need to do it within awk On SOLARIS
kindly provide suggestions.
Thanks in advance (8 Replies)
Discussion started by: junaid.nehvi
6. Shell Programming and Scripting
does anybody know how to format `date` command correctly to return the day of the week? Thanks -A
I work in ksh.... (1 Reply)
Discussion started by: aoussenko
7. Shell Programming and Scripting
Is there any function in Unix by which v can find the exact day of any given date. Like i need to get Wednesday if i give 05 07 2008 (format MM DD YYYY)
RRVARMA (5 Replies)
Discussion started by: RRVARMA
I have date in string format 'YYYY-MM-DD'. I want to know day of the week for this date.
Example. For '2005-08-21' my script should return '0' or Sunday
For '2005-08-22' it should return '1' or Monday
I want piece of code for HP-UX korn shell.
Appreciate reply on this. (5 Replies)
Discussion started by: vpapaiya
9. UNIX for Dummies Questions & Answers
How to find the Day of the Week of the given Date using perl?
If I have a date in YYY--MM-DD format, how to find the DOW? Based on that, I need to find the following sunday.
Pls help. (5 Replies)
Discussion started by: deepakwins
I am working at Unix system,using c lang.
I need c fun which return the day of the week .
For example :
10x. (4 Replies)
Discussion started by: kamil