DateTimeToTimestampTransformer

DateTimeToTimestampTransformer

class DateTimeToTimestampTransformer extends BaseDateTimeTransformer

Transforms between a timestamp and a DateTime object.

Methods

__construct(string $inputTimezone = null, string $outputTimezone = null)

Constructor.

from BaseDateTimeTransformer
mixed transform(登录查看完整内容