Jump to content

Mathing time interval


Zakhary

Recommended Posts

Witam.

 

Chciałbym w automatyczny sposób policzyć w PHP straty czasowe między danymi zawodnikami, jednak nie mam żadnego pomysłu jak to można zrobić.

 

Dane są zawarte w pliku .txt Przykład:

 

14073 [MAF]Snoops
14081 itoxic
14090 [rsd]spz
14091 [RSD]Neelix
14097 [b1lly]
14098 [AK47]K1ll3R
14112 Grzesiek
14115 roflbananalemon
14118 los_santos
14124 [PR]stormey
14130 [NL]_DreameR
14131 raidu

 

format to xxyyzzz czyli xx:yy,zzz np 61 (minuty) : 14 (sekundy) , 365 (tysięczne)

 

W jaki sposób dałoby się zrobić, aby każda czasówka była pobierana jako oddzielna wartość? Umożliwiłoby wtedy to liczenie. Powstaje jednak pytanie jak to potem policzyć w tym formacie. Jakieś pomysły?

 

Powinno, więc to działać na zasadzie

1. CZAS NICK

2. CZAS NICK +x,xxx do czasu nr1

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.