-
Notifications
You must be signed in to change notification settings - Fork 86
secondselapsed string
Chris Petersen edited this page Oct 16, 2014
·
1 revision
secondselapsed->string returns time string in hh:mm:ss format. Useful in clock displays.
Parameter | Description |
---|---|
arg1 | Relative time in seconds |
arg2 | Optional: Time format, such as "hh:mm") |
Example 1: Clock value of 1234 seconds
> (secondselapsed->string 1234)
"00:20:34"
Example 2: Store a duration string, in mm:ss format, as the difference of a start time value and now.
(set! duration (secondselapsed->string (fix (- ##now start)) "%M:%S"))))
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip