-
Notifications
You must be signed in to change notification settings - Fork 0
Util.parseMs()
github-actions[bot] edited this page Sep 30, 2024
·
2 revisions
parses times from strings in milliseconds
type: Function
arguments:
- time
String
util.parse(5); // 5000
util.parse("5s"); // 5000
util.parse("5ms"); // 5000
util.parse("5m"); // 300000
util.parse("5h"); // 18000000
util.parse("5d"); // 432000000
util.parse("5w"); // 3024000000
util.parse("5y"); // 157680000000
π Client |
π AddonService |
π AttachmentService |
π ChannelService |
π CommandService |
π ComponentService |
π ErrorService |
π EventService |
π ExpressionService |
π GuildService |
π LogService |
π MessageService |
π PermissionService |
π RoleService |
π StorageService |
π TypeService |
π UserService |
π UtilService |
π VoiceService |