I need to store date in one variable and time in variable. Are there any methods to get date and time in solidity?


there is a datetime library you can find out more here https://github.com/pipermerriam/ethereum-datetime

  • Welcome to Ethereum! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Afr Nov 11 '16 at 14:31

Not the answer you're looking for? Browse other questions tagged or ask your own question.