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