ruby and rails html show date year code example Example: ruby and rails html show date year <%= Time.current.year %>