You must be using SFML 2.0. You must declare an object of type Time and set it equal to <clockname>.getElapsedTime() then you can use <timename>.asSeconds() or asMilliseconds() or a lot of other stuff to get the time.
And yet another use less post!
You see his question was answered with the post from model76 on the 23th of January, there would've been no need to dig this up again.
The content of your text is also not really usefull because in C++
<something> is reserved for templates and thus
<timename> gets very confusing.
Since this post is already brought up from the 'dead' and maybe someday someone will find it with the search function here it is a bit better:
SFML 2.0 introduces a new class called
sf::Time, it solves the problem of having only one resolution for time.
sf::Clock::getElapsedTime() doesn't return a fixed value in
float anymore, it returns as
sf::Time class. If you want you can not store this returned class or just go ahead and access it.
There are three diffrent functions, see the
documentation for more details.