Hi,
I have an sql server db and want to calculate the difference between two time and dates, in hours.
Field 1: {PHARMCHECKDATE} Datetime field (with no time entered)
Field 2: {PHARMCHECKTIME} String field
Field 3: {PRESC_DATE} Datetime field (with no time entered)
Field 4: {PRESC_TIME) String field
What I need to do is get the hours difference between - ({PRESC_DATE}{PRESC_TIME))-({PHARMCHECKDATE {PHARMCHECKTIME})
In the front end of the app..a user will do a Pharmacy check...then a day or few hours after the Prescriber will "Authorise" treatment. But it sometimes doesnt happen in this order...
I need the time difference between both... whether this is + or -
Any help grately appreciated as ever
Steve
I have an sql server db and want to calculate the difference between two time and dates, in hours.
Field 1: {PHARMCHECKDATE} Datetime field (with no time entered)
Field 2: {PHARMCHECKTIME} String field
Field 3: {PRESC_DATE} Datetime field (with no time entered)
Field 4: {PRESC_TIME) String field
What I need to do is get the hours difference between - ({PRESC_DATE}{PRESC_TIME))-({PHARMCHECKDATE {PHARMCHECKTIME})
In the front end of the app..a user will do a Pharmacy check...then a day or few hours after the Prescriber will "Authorise" treatment. But it sometimes doesnt happen in this order...
I need the time difference between both... whether this is + or -
Any help grately appreciated as ever
Steve