method

to_time

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

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