-1

I am able to calculate time and now I am able to calculate the study time of all members and now I want to keep adding the time to the previous study time and show it on a command

Here what I want First I studied an hour Then I studied 2 hours So , the total time should be 3 hrs

I'm able to calculate time seperately but not able to store and add , I'm doing this on repl.it so please provide me some help . Thanks

  • Please show some code of what you have tried so far, we can help you fix your code but we aren't a code writing service. – Gh0st May 27 '22 at 17:51
  • Ok , I'm sorry I didn't mean that , can u provide me with some idea to get it done – Alyan Shaikh May 28 '22 at 04:59
  • You could store it in a [json file](https://stackoverflow.com/questions/36856232/write-add-data-in-json-file-using-node-js) or a database like sql or mongoose – Gh0st May 28 '22 at 09:09

0 Answers0