Newbies tam74k Posted March 3, 2022 Newbies Posted March 3, 2022 Hello i have this this url : http://api.aladhan.com/v1/gToH?date=07-12-2014 its return: {"code":200,"status":"OK","data":{"hijri":{"date":"24-09-1420","format":"DD-MM-YYYY","day":"24","weekday":{"en":"Al Sabt","ar":"\u0627\u0644\u0633\u0628\u062a"},"month":{"number":9,"en":"Rama\u1e0d\u0101n","ar":"\u0631\u064e\u0645\u064e\u0636\u0627\u0646"},"year":"1420","designation":{"abbreviated":"AH","expanded":"Anno Hegirae"},"holidays":[]},"gregorian":{"date":"01-01-2000","format":"DD-MM-YYYY","day":"01","weekday":{"en":"Saturday"},"month":{"number":1,"en":"January"},"year":"2000","designation":{"abbreviated":"AD","expanded":"Anno Domini"}}}} How Can i Get Only this date "24-09-1420" in a field?
Josh Ormond Posted March 3, 2022 Posted March 3, 2022 JSONGetElement ( $json ; "data.hijri.date" ) Replace $json with where you have the json string stored.
Newbies tam74k Posted March 3, 2022 Author Newbies Posted March 3, 2022 1 hour ago, Josh Ormond said: JSONGetElement ( $json ; "data.hijri.date" ) Replace $json with where you have the json string stored. Thank You sir
Recommended Posts
This topic is 994 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now