Days between dates: Difference between revisions

Content added Content deleted
Line 1,864: Line 1,864:


=={{header|RPL}}==
=={{header|RPL}}==
Uses Python formula, in a forced binary calculation mode to avoid 'flooring' instructions
{{works with|Halcyon Calc|4.2.7}}
{{works with|Halcyon Calc|4.2.7}}
≪ → d m y
≪ → d m y
Line 1,893: Line 1,894:
1: 60
1: 60
</pre>
</pre>

=={{header|Ruby}}==
=={{header|Ruby}}==
<syntaxhighlight lang="ruby">require "date"
<syntaxhighlight lang="ruby">require "date"