TechUser23
IS-IT--Management
I know this is an odd request but ... In T-SQL, I have 4 fields causing me Time nightmares ...
If the time is 8:00 AM, I am getting 8 for the hour and just one 0 on the minute. Since I'm having issues in SQL, I was looking to program Crystal to do some fancy handling ... Is it possible to code the minute field to report the second "0"? So basically, its happening on the top of the hour ... 7:00 am reads 7:0 ...
Is it possible to do code crystal to add in my second 0 ... anyone that can help me will be my hero. LOL Thanks in advance
Code:
StrtHour=convert(varchar(2),datepart(hour,Start)),
StrtMin=convert(varchar(2),datepart(minute,Start)),
StpHour=convert(varchar(2),datepart(hour,Stop)),
StpMin=convert(varchar(2),datepart(minute,Stop)),
If the time is 8:00 AM, I am getting 8 for the hour and just one 0 on the minute. Since I'm having issues in SQL, I was looking to program Crystal to do some fancy handling ... Is it possible to code the minute field to report the second "0"? So basically, its happening on the top of the hour ... 7:00 am reads 7:0 ...
Is it possible to do code crystal to add in my second 0 ... anyone that can help me will be my hero. LOL Thanks in advance