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, new Date(now * 1000));
}
However, Date
says Identifier not found or not unique.
Could you give me any advise, please?