Menu

Taget date

2015-12-09
2015-12-22
  • Doug Curtis

    Doug Curtis - 2015-12-09

    The help summary shows that a target date can be specified but I can't get it to work. The usage summary doesn't show in which order it should be specified:

    Usage: sunwait [major options] [minor options] [twilight type] [rise|set] [offset] [latitude] [longitude]

    I tried DDMMYYYY before the latitude and longitude. I've also tried every permutation of the date I can think of.

     
  • Notal Tonsense

    Notal Tonsense - 2015-12-22

    Looking at the source code I figured that the year, month, and day of the month parameters should be given with prefixes of y, m, and d respectively followed by a blank space.

    e. g. to list surise/sunset times for 7 days starting from 22nd December 2015 for the default location, the command line should be:

    sunwait list 7 m 12 d 22 y 15

    The order in which the y/m/d parameters are given does not matter.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.