src/Components/Corp-CandidateRegistration/CandidateList.js
/*-------a random  process srno id generated based on current date and time --------- */
a random  process srno id generated based on current date and time
a random process srno id generated based on current date and time
generateProcessId() {
    var dateTime = new Date().toLocaleString()
    var day = dateTime.slice(0, 2)
    var month = dateTime.slice(3, 5)
    var year = dateTime.slice(6, 10)
    var hr = dateTime.slice(12, 14)
    var mins = dateTime.slice(15, 17)
    var secs = dateTime.slice(18, 20)
    var date_format = year + month + day + hr + mins + secs
    var randomNum = new Date().getTime()
    var processID = randomNum + date_format
    return processID
  }
generateProcessId ( ) { var dateTime = new Date ( ) . toLocaleString ( ) var day = dateTime . slice ( 0 , 2 ) var month = dateTime . slice ( 3 , 5 ) var year = dateTime . slice ( 6 , 10 ) var hr = dateTime . slice ( 12 , 14 ) var mins = dateTime . slice ( 15 , 17 ) var secs = dateTime . slice ( 18 , 20 ) var date_format = year + month + day + hr + mins + secs var randomNum = new Date ( ) . getTime ( ) var processID = randomNum + date_format return processID }
a random  process srno id generated based on current date and time
a random process srno id generated based on current date and time