Scoped GlideDateTime - GlideDateTime(GlideDateTime g)

Instantiates a new GlideDateTime object set to the time of the GlideDateTime object passed in the parameter.

Table 1. Parameters
Name Type Description
g GlideDateTime The GlideDateTime object to use for setting the time of the new object.
var start = new GlideDateTime("2011-01-01 12:00:00");
var end = new GlideDateTime(start);;