pymel.core.animation.getCurrentTime

getCurrentTime()

get the current time as a float