Track time from plugin event

bwd
bwd
  • bwd
  • 4 months ago

Hi: I am using the plugin event "onTrackAfterSave" to get info from my database (wind speed etc) once the track is saved. Everything is working fine, but I need to get the track start date/time. Is there anything in the $track variable with this info, or is there any way to get the start date and time?

public function onTrackAfterSave($context, $track, $isNew)
{
  // do your stuff
}

Thanks,

Dave


Access to viewing replies is restricted.
Showing 3 of 3 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai