Welcome Guest ( Log In | Register )

> time format as 5:30 instead of 05:30
inhahe
post Oct 7 2007, 10:50 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 7-October 07
Member No.: 390



it would be nice if there were a way to display the length of the song (and the time in the song you're currently at) without a leading 0 in the minutes part, if there isn't such a way. for example 5:30m instead of 05:30m. i looked through the variables list and couldn't find one.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
 
Reply to this topicStart new topic
Replies
Serge
post Oct 8 2007, 08:32 AM
Post #2


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



Read what functions help says:
$pad(expr,n)
Pads the result of expr with n digits, for instance, $pad(%min,0) where %min is 01 gives 1
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: