I want to show the time when blockchain contract called.
I am currently saving the time in the blockchain using a method like this
function userCheckIn(uint placeid) public {
userCount++;
checkins[userCount] = Checkin(placeid, msg.sender, now);
}
However, now
shows random number in frontend like this
1555650125
1555651118
Could you give me any advise, please?
Thank you so much in advance.