Time to millisecond conversion in date action

I need to find epoch number for date and time

@dhaya here is a script that converts date to epoch time in milliseconds

@CustomScriptAction(
    input = ['my_date'],
    output = 'epoch'
)
 
def customScript() {
def epoch = my_date as RNumber
} 
2 Likes

thank you @ashapkina