module Sass::Script::Functions
Public Instance Methods
strftime(format)
click to toggle source
# File lib/sass-times.rb, line 6 def strftime(format) return Sass::Script::Value::String.new(Time.now.strftime(format.value)) end
timestamp()
click to toggle source
# File lib/sass-times.rb, line 9 def timestamp() return Sass::Script::String.new(Time.now.to_s) end
unix_timestamp()
click to toggle source
# File lib/sass-times.rb, line 12 def unix_timestamp() return Sass::Script::String.new(Time.now.to_i.to_s) end