i need help

a program that take any date and gives the name of day

Date already does this, just replace the date (ie 2004/05/07) with the one you want.

$ date -d"20040507" +"%A"

Friday
commented: TGI pty +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.