+ Start a Discussion

Help with Passing Event Start/End Date/Time to Custom Object Using Custom Button

I have a custom button we use to pass data from Events to a "Registrations" custom object.  It works great.  We want to add passing the Event Start Date/Time and End Date/Time but it seems to pass only the Date, not the time.  Any Ideas or insight you can add would be appreciated.  The applicable code:

 Where 00N50000001kKSt is a Registration custom field (Date/Time) called Start and
00N50000001kKSy is a Registration custom field (Date/Time) called End.
Only the Date is displayed in Start and End and the error message is :
Error: Invalid Date and Time

Appreciate any help with this.