dipali09
Results
2
comments of
dipali09
` getTimeStamp(){ const now=new Date(); const date=now.getFullYear()+'/'+(now.getMonth()+1)+'/'+now.getDay(); const time=now.getHours()+'/'+now.getMinutes()+'/'+now.getSeconds(); return(now); }`
Yes, you are right, it is deprecated. you have to use 'angularfire2/database-deprecated' in place of 'angularfire2/database' This worked for me.