No not a direct function, but the equivalent what Laurent has posted...
![Roll Eyes ::)](https://www.sfml-dev.org/forums/Smileys/default/rolleyes.gif)
// Outside the game loop
sf::Clock frameClock;
// Inside the game loop
sf::Time frameTime = frameClock.restart();
float seconds = frameTime.asSeconds();
// Obviously this could also get done directly without a sf::Time object.
Then again if you need it for physics you should think about a fixed time step.
![Wink ;)](https://www.sfml-dev.org/forums/Smileys/default/wink.gif)