-
-
Save mistyrinth/ec43cd8358d03fae02bbe0f90918bf1e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
time = Time.now | |
strTime = time.strftime("本日は %Y年%m月%d日 時刻は %X (%Z)") | |
puts "#{strTime}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment