I cant get my head around what I am doing wrong here.
use Google\Protobuf\Timestamp;
$timestamp = new Timestamp();
$dt = Carbon::now();
$pt = $timestamp->fromDateTime($dt);
Carbon is a simple PHP API extension for DateTime so it should work but instead I get a null value for $pt