12 Hour Time Format

  • 1
  • Question
  • Updated 4 years ago
I am pulling astronomy data (specifically sunrise and sunset) from WU and want it to come in as 12 hour time format as opposed to the default 24 hour time. Is this possible?
As I don't know a lot about what I am doing/using, here is how I am getting the data
URL was modified a bit. 
With this call, i get the following data (very small snippet). Is it possible to pull in the sunset time as 12 hour time? Thanks!
, "moon_phase": {
		"phaseofMoon":"Waning Crescent",
		"current_time": {
		"sunrise": {
		"sunset": {
		"moonrise": {
		"moonset": {
Photo of Jeff Furbush

Jeff Furbush

  • 1 Post
  • 0 Reply Likes

Posted 4 years ago

  • 1

Be the first to post a reply!