About 414,000 results
Open links in new tab
  1. How to format time (Minutes:Seconds)? - DevForum | Roblox

    Nov 18, 2023 · If you could help, i would appreciate it. local ReplicatedStorage = game:GetService("ReplicatedStorage") local TextLabel = script.Parent.time ReplicatedStorage.Time.Changed:Connect(function(newTime) TextLabel.Text = newTime end) if TextLabel.Text == 60 then TextLabel.Text = "1:".. newTime end

  2. How can I convert seconds into an time format? - DevForum | Roblox

    Oct 17, 2021 · Hello, I am creating a tempbanning system and I am trying to show how long is left with a format of the date and time it ends, the time is in seconds, how can I do this? I been messing around and searched around and can’t figure anything out.

  3. Help with time formatting - Scripting Support - DevForum | Roblox

    Mar 5, 2023 · I’m trying to make a function that converts an amount of seconds (for example, 124681) into a formatted version. I’ve made the day and hour successfully but I am unsure on how to make the minute and second ones. m_format = ??? s_format = ??? local h_format = (math. floor (seconds / 3600) - (d_format * 24)); local m_format = ??

  4. Converting secs to (h:min:sec) - Scripting Support - DevForum | Roblox

    Jul 12, 2018 · Here’s the part of the client sided script that forms the amount of seconds that I’d like to get converted: local timerEvent = game:GetService("ReplicatedStorage"):WaitForChild("Assets"):WaitForChild("Signals").TimerEvent. if TimeSinceLastVisit > WaitTime then . TimeInSeconds = WaitTime.

  5. [31.1] FormatNumber - A module for formatting numbers - DevForum | Roblox

    Apr 16, 2020 · This is an all-in-one number formatting module designed for displaying numbers in a more user-friendly way. Why this module? Aside from being the more known module (with over 100 likes), this is a solid tested module with many features included.

  6. TFMv2 - Format time with ease & flexibility - DevForum | Roblox

    Apr 1, 2021 · Exactly a year ago (yes to the minute), I released TFM to strictly format time into a handful of formats. When I look back upon it, the module is quite limited and forced you choose the exact format it provided, which is not user friendly.

  7. How would I go about converting a number into a clock time ... - DevForum

    Nov 27, 2021 · ClockTime is a float which cycles through 0-24. I know that, but I need to know how to convert 90 seconds into 1:30 (1 minute 30 seconds) with a function that can be used. local ctMinutes = lighting.ClockTime - math. floor (lighting.ClockTime) local ctMinutes = math.round(60 *ctMinutes) local ctHours = math. floor (lighting.ClockTime)

  8. A Way to Easily Format Numbers - DevForum | Roblox

    Dec 3, 2021 · I am indeed emphasizing the localization support for number formatting because I do believe it is extremely important when formatting numbers for visitors. The DateTime object does an extremely good job at making it easy for developers to …

  9. TFM - Time Formatting Module - DevForum | Roblox

    Apr 1, 2020 · Have you ever had to turn a boring number of seconds to a readable and common time display format? Well, my module does exactly this. It does all the work while you just have to write one...

  10. How can i make the clock include the zeros?s - DevForum | Roblox

    3 days ago · You can also use string.rep('0',desired length-#minute)..minute But your method is better (Sorry I’m typing this on phone)