Last active
September 14, 2019 13:59
-
-
Save yusufusta/80016b312f8d5a79c7b3fbc4e336bc45 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //php 7.0.8 | |
https://tlkur.com/historical/data/USD/TLdaily.json | |
$time = "1566454080000"; | |
$time2 = str_replace("000","",$time); | |
$yuzde = 1 - ("5.70" / "5.71" ); | |
if(strstr($yuzde, "-")){ | |
$yuzde2 = substr($yuzde, 0, 6); | |
echo " Kur Yükselişte "; | |
} else { | |
$yuzde2 = substr($yuzde, 0, 5); | |
echo " Kur Düşüşte "; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment