LuckMan212,
As requested here is a new version...
SYNTAX: suntime.exe <latitude[N|S]> <longitude[E|W]> -time <sunrise|sunset|moonset|moonrise|twilight> [-24hr] [-date MM/DD/YYYY]
ADDED: Removed trailings seconds
ADDED: -date switch
ADDED: -24hr switch, if it exists, then output in 24hr time.
Download it here (http://jazper.dcmembers.com/downloads/suntime/suntime1.0.1.zip)
jazper
ADDED: -dst switch, will compensate the output time for DST
if -date is DST and currentdate is not, then +1 output
else if -date is not DST and currentdate is DST then -1 output
FIXED: All cmd line switches are detected regardless of case(e.g. -date or -DATE)
Latest version HERE (http://jazper.dcmembers.com/downloads/suntime/suntime1.0.2.zip)