module Sass::Script::Functions

Public Instance Methods

timestamp() click to toggle source
# File lib/sass-timestamp.rb, line 6
def timestamp()
    return Sass::Script::String.new(Time.now.to_s)
end
unix_timestamp() click to toggle source
# File lib/sass-timestamp.rb, line 10
def unix_timestamp()
  return Sass::Script::String.new(Time.now.to_i.to_s)
end