• 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
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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

 
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?
 
Rancher
Posts: 480
6
IntelliJ IDE Spring Fedora
  • 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
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!