2 votes
Accepted

pset7 question about tables in buy

Ok, I may be wrong about this and I can delete my answer so it stays unanswered if I am. I think the spec is a little murky referenced by Dino on the question linked above. Dino interpreted it to ...
1 vote
Accepted

CS50 Finance: Can't add time of transaction

I think you've conflated two different concepts here. First, understand that ALTER TABLE changes the entire table,not just a single row. Don't use that to update an individual record. Next, you can ...
  • 64.7k
1 vote
Accepted

Finance datetime

Datetime module of python does its job correctly but the real issue is of database....Its either problem of squlite3 or cs50's php.....but the value stored in table is "just the date" even ...
1 vote

pset7 I can't use usd() and have a problem with datetime method

1)for time stamp you could use this.. from time import gmtime,strftime .... time=strftime("%Y-%m-%d %H:%M:%S", gmtime()) ... output will look like this.. 2017-12-28 09:40:20 now you ...
  • 117

Only top scored, non community-wiki answers of a minimum length are eligible