Hi,
Sorry my friend I don't use Mysql so I wrote the SQL using MSSQL and Access hoping that you or one of the forum members can translate it:
Access:
SELECT Left(Format([time],"hh:nn:ss"),2) & " hrs & " & Mid(Format([time],"hh:nn:ss"),4,2) & " mins & " & Right(Format([time],"hh:nn:ss"),2) & " sec" AS RTime FROM Table1
MS Sql:
SELECT LEFT(CONVERT(varchar, TransactionDate, 8), 2) + ' hrs & ' + SUBSTRING(CONVERT(varchar, TransactionDate, 8), 4, 2) + ' mins & ' + RIGHT(CONVERT(varchar, TransactionDate, 8), 2) + ' sec' AS RTime FROM Table1
Hope this works for you.
It is never about the number of languages you know, you either have the logic of programming or you don't.
Enter your message below
Sign in or Join us (it's free).