Basically I'm working with a deck of cards for this. I was hoping to use time as a reference to pseudo-randomize the number of time's they would be shuffled, but I don't see a way to convert time to an integer form.

Only to a string.

If I used the difftime program would that work to return it as an integer?

Second does the computer read the clock as we see it so like 2:24PM or 14:24.

Calling time() returns an integer. Look it up.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.