sphinx Posted December 12, 2011 Share Posted December 12, 2011 hello, How would I add 'seconds' to this: if (dd == 0) { return (hh+" hours, "+mm+" minutes, "+ss); } I've tried: if (dd == 0) { return (hh+" hours, "+mm+" minutes, "+ss+" seconds); } However, nothing displays, could someone assist. Many thanks Quote Link to comment Share on other sites More sharing options...
joe92 Posted December 12, 2011 Share Posted December 12, 2011 Close the speech marks after seconds. Quote Link to comment Share on other sites More sharing options...
sphinx Posted December 12, 2011 Author Share Posted December 12, 2011 thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.