• 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
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

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?
 
Rancher
Posts: 427
6
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
 
Get out of my mind! Look! A tiny ad!
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!