samp.directory
← Scripts and libraries

Crayder/Time-Conversion

stamp to date-time and the inverse.

Tool★ 5updated Jan 2016No licenceSourcePawn
Open on GitHub

This repository has no licence file. It is public to read, but that alone does not give permission to reuse it.

README.md

Time-Conversion

stamp to date-time and the inverse.

stamp2datetime

This was actually taken directly from pawn's source code. It's one of those functions that aren't included in SA-MP's version of pawn. I converted it's internal function to actual pawn code. It hasn't been cleaned up or anything, just converted to a working state. I also added a gmh (Greenwich Mean Hour) and gmm (Greenwich Mean Minute), both being derivatives of GMT (Greenwich Mean Time).

datetime2stamp

Converted from a Python script I found and fitted to stamp2datetime's flavor. This function also has not been cleaned up, I have only converted it to a working state.

includesa-mp

This page is built from what GitHub publishes about the repository. samp.directory does not host the code. Report a problem with this listing

Crayder/Time-Conversion: SA-MP Tool | samp.directory