Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

carbon to moment js conversion

user.created_at ? moment(user.created_at).format('DD/MM/YYYY hh:mm A') : '####';
 
PREVIOUS NEXT
Tagged: #carbon #moment #js #conversion
ADD COMMENT
Topic
Name
7+2 =