• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Frits Walraven
Bartenders:
  • Carey Brown
  • salvin francis
  • Claude Moore

How can I get middle of night between sunset and sunrise?  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Who can I get two times,
1- middle of night between Sunset and sunrise
2- middle of night between Sunset and fajr so I do not want to get just one of them?  
I need to get Middle of the time of  Sunset to Sunrise and  Middle of the time of the time of  Sunset to  Fajr at the same browser, here is the javascript: [http://praytimes.org/code/v2/js/PrayTimes.js](http://praytimes.org/code/v2/js/PrayTimes.j

and here is the HTML monthly prayer times
[http://praytimes.org/code/v2/js/examples/monthly.htm](http://praytimes.org/code/v2/js/examples/monthly.htm
I want to edit the Js file so I can get both times in the HTML file at the same time
what changes I needs to make to this code?
 
Ranch Hand
Posts: 381
2
Fedora IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No idea what you are talking about.  Can you give an example? you want to know the midpoint between a day's sunset and sunrise?  seems like you can just add half the difference between sunset and sunrise to the sunset..?
 
Diyar Rona
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Al Hobbs wrote:No idea what you are talking about.  Can you give an example? you want to know the midpoint between a day's sunset and sunrise?  seems like you can just add half the difference between sunset and sunrise to the sunset..?


I made the following editing:

but did not work
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!