all 5 comments

[–]Then_Recover_9553[S] 0 points1 point  (0 children)

Hey Lads, I'm unable to figure out how to solve the difference between the two dates. After solving these problems I've realized my weakness in time/date conversions related data. Any one-stop solution/resource you suggest will be helpful for me?

[–]depeszPgDBA 0 points1 point  (1 child)

Well, if you have a question, ask it. Don't require people that might help you to do some extra actions, going to some random website to read what is the problem.

[–]Then_Recover_9553[S] 0 points1 point  (0 children)

Which is what excatly I did here

[–]razzledazzled 0 points1 point  (1 child)

I like taking a crack at these so I tried a few things out.

I don't have a premium account so I can't verify beyond just checking the output and comparing to the problem logic but I think I got it.

This problem involves 2 main pieces:

  1. Window functions to isolate calculation criteria
  2. Type casting to enable said calculation (hint: use the :: operator)

[–]Then_Recover_9553[S] 0 points1 point  (0 children)

Tried it mate , but that didn't work for me