Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
PostgreSQL Data Access Components 4.4
Database Workbench Pro 5.6.4
Availability Booking Calendar PHP 1.0
Online Course Booking Script 3.04
ATN Site Builder 3.0
ATN Resume Finder 2.0
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
IBDAC 6.4
Invoice Manager by PHPJabbers 3.0
The C# PDF Library 1.0
A beginner's guide to threading in C#
How to Read a text file in ASP .NET ?
Overloading Strings in C#
TIC TAC TOE AI GAME Script 1.1
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Sabbath 6.x-1.2
File ID: 100227






Sabbath 6.x-1.2
Download Sabbath 6.x-1.2http://drupal.org/Report Error Link
License: Freeware
File Size: 41.0 KB
Downloads: 4
Submit Rating:
Sabbath 6.x-1.2 Description
Description: This module has not been reviewed by any religious organization. No endorsement of its use for religious purposes is implied.

The time that the sabbath begins and ends changes throughout the year because, historically, a full day began at sunset. The Sabbath module provides the sabbath start and end times for any week and any latitude, longitude, and time zone.

It provides two API functions:

1. sabbath_time($latitude, $longitude, $timezone = NULL, $time = NULL, $future = 'time')

This returns an object containing the sabbath start and end timestamps, the time zone offset for each, and the beginning of the next week. $future can be set to 'day' or 'time' and specifies whether to show the sabbath that ends after the given time or after the day in which the time occurs.
2. sabbath_now($latitude, $longitude, $timezone = NULL, $time = NULL)

This returns a boolean value which tells whether the given time falls within the sabbath.

The Sabbath module also provides a block for displaying the local sabbath start and end times for the current week.

License: Freeware

Related: sabbath, longitude, Start, Module, times, Timezone, Time, returns, future, religious, occurs, sabbath nowlatitude, Boolean, reviewed, Scripts, sabbath scripts

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 41.0 KB

Downloads: 4



User Review for Sabbath
- required fields
     

Please enter text on the image