You need to sign in to do that
Don't have an account?
IKON Maria
Help with Custom Clone Event (evt13)
I am trying to isolate the time part of the Event Date Time Field (evt13).
<script language="JavaScript">
function redirect() {
parent.frames.location.replace("/00U/e?retURL=%2F{!Event.Id}&what_id={!Event.Id}&evt5=NM&RecordType=01230000000DEC6&evt5={!Event.Subject}&00N300000013KTS={!Event.Subject_Score__c}&00N300000013Wpk={!Event.Contact_Score__c}&evt6={!Event.Description}&evt4+{!Event.ActivityDate}&evt13=12:00AM")
}
redirect();
</script>
function redirect() {
parent.frames.location.replace("/00U/e?retURL=%2F{!Event.Id}&what_id={!Event.Id}&evt5=NM&RecordType=01230000000DEC6&evt5={!Event.Subject}&00N300000013KTS={!Event.Subject_Score__c}&00N300000013Wpk={!Event.Contact_Score__c}&evt6={!Event.Description}&evt4+{!Event.ActivityDate}&evt13=12:00AM")
}
redirect();
</script>
I would like evt13 to be the time of the previous event (I am creating a custom Clone Event button). Any help is greatly appreciated.
Thanks!
-Maria
Try This for time
{!SUBSTITUTE(SUBSTITUTE( TEXT(Event.ActivityDateTime) , TEXT(DATEVALUE( Event.ActivityDateTime)), ""),":00Z"," PM")
For Date
DATEVALUE( Event.ActivityDateTime)