|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: Feb 2011
Posts: 129
Reputation: 4
|
Olá amigos,
O que eu estou pedindo é pegar os segundos do comando /presos e fazer o seguinte: Ex: Nome: Wesley_Pereira Preso na: [HQ POLÍCIA FEDERAL] Tempo: 60000 segundos (Aproximadamente 1 hora). Mais ou menos assim. Alguém tem noção básica ou um tutorial explicando como fazer isso? Tá valendo reputação. |
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2010
Location: Brasília
Posts: 4,255
Reputation: 474
|
Matemática básica.
1s = 1.000ms 1 min = 60.000ms 1h = 360.000ms Use divisão e você vai ter a contagem que deseja. |
|
|
|
|
|
#3 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2012
Location: Notepad++
Posts: 1,989
Reputation: 141
|
Leve em conta que Cada segundo contado em milisegundos , é resultante a 1000 então :
1000 = 1 Segundo 10000 = 10 Segundos 100000 = 100 Segundos e Assim Por Diante. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Ajuda] Converter segundos em dias | [BPW]Wesley | Português/Portuguese | 12 | 29/01/2012 04:49 PM |
| [AJUDA] Simples, questão de segundos | ViCtOr_Mc | Português/Portuguese | 3 | 13/07/2011 02:32 PM |
| [AJUDA]Veiculos com horas | gabrieldefreitas11 | Português/Portuguese | 4 | 27/06/2011 09:53 PM |
| [DUV] Pegar horas, dias minutos e segundos em timestamp | steki. | Português/Portuguese | 2 | 18/02/2011 03:03 PM |
| [AJUDA] HORAS | Rakun | Português/Portuguese | 1 | 26/04/2010 05:18 AM |