Skip navigation.
Home
That which cannot be rendered in binary is by definition a delusion
 

Reply to comment

cmp_day(d1: Date, d2: Date): int (-1, 0, or 1)

compares two dates, granular to the day, to determine if they are on the same day, or if one is later than the other.

 

  • If d2 comes AFTER d1, returns 1
  • if d2 comes BEFORE d1, returns -1
  • if d2 comes ON THE SAME DAY as d1, returns 0.

 

Reply

  • Allowed HTML tags: <a> <p> <span><small> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike> <caption>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options