Logo

Programming-Idioms

History of Idiom 184 > diff from v2 to v3

Edit summary for version 3 by artem:
New Ruby implementation by user [artem]

Version 2

2019-07-20, 20:17:57

Version 3

2019-07-21, 11:11:46

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Idiom #184 Tomorrow

Assign to variable t a string representing the day, month and year of the day after the current date.

Imports
require 'active_suport'
Code
t = 1.day.since.to_s