獲取Date & Time 組件. 我們可以使用Time對象來獲取各種日期和時間的組件。 請看下面的實例: #!/usr/bin/ruby -w # -*- coding: UTF-8 -*- time = Time.new # Time 的 ...
確定! 回上一頁