Running Time and Date in SQLITE

  • Good day!
    I am making a monitoring system and I need to make my date and time running in the database.

    here is my code.

    date = str(datetime.datetime.fromtimestamp(k).strftime('%b %d, %Y  %I:%M:%S %p'))
    Thanks in advance! :)

  • Lifetime Qt Champion


    What is your question exactly ?

  • Even though there is no question I'll go ahead and guess date.toString(Qt::ISODate) is what you need.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.