method

to_time

v3.1.0 - Show latest stable - Class: String
to_time(form = :utc)
public

Form can be either :utc (default) or :local.