Logo

Programming-Idioms

History of Idiom 184 > diff from v19 to v20

Edit summary for version 20 by steenslag:
[Ruby] Not standard Ruby

Version 19

2019-09-27, 21:02:30

Version 20

2019-09-29, 23:12:57

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 "date"
Imports
require "date"
Code
_t = Date.tomorrow.to_s
Code
t = Date.tomorrow.to_s
Comments bubble
tomorrow is a Ruby on Rails method