Jump to content
Server Maintenance This Week. ×

How can i get specific data from url


This topic is 784 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

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?

Link to comment
Share on other sites

  • Newbies
1 hour ago, Josh Ormond said:
JSONGetElement ( $json ; "data.hijri.date" )

Replace $json with where you have the json string stored.

Thank You sir

Link to comment
Share on other sites

This topic is 784 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.