Generate Birthday dates base on lunar birthdays for Google Calendar import Can is used for notifying birthdays using GOOGL E CalendarGenerate a CSV file that can be used for Google Calendar import based on lunar birthday, and then import Google Calendar to receive a birthday reminder for all your family every year.
Open Http://play.golang.org/p/pjHLGH_HjP http://play.golang.org/p/6pt7A7wi1g
Modifyi
Copy CodeThe code is as follows:
PHP Lunar Calendar
############################################作者: Shen Yu (Ss Lab) ##E-mail:shenlian@hotmail.com ##web: http://www.focus-2000.com ## ##版权声明: ##作者开放版权 ##允许无条件地使用本文件的全部或部分 ##可作任何修改或增补 ##如果您使用了本文件, please write an e-mail to the author ##如有问题欢迎同作者联系 ##谢谢您的关注! ############################################/** Modified: Xiao Xu*mail:san@xfocus.org*web:http://www.xfocus.org** To tell the truth, I can say noth
This article mainly introduces the lunar calendar algorithm implemented by php, and analyzes in detail the principles of the lunar calendar algorithm and php implementation skills, which is of great practical value, for more information about the lunar calendar algorithm implemented by php, see the examples in this article. Share it with you for your reference. T
A friend on Weibo asked, this article screenshot of the Windows7 taskbar time zone How to show the lunar calendar, another thing, is that someone directly commented on how the soft media like XXX, pop-up such a window makes people feel very uncomfortable. These two things, are a misunderstanding, blame us before the explanation is clear, the following brief.
First, in the Win7, XP and other systems of the taskbar time zone to display the
JavaScript code
/* Set the Lunar date */var calendardata=new Array (100);
var madd=new Array (12);
var numstring= "1,234,567,890";
var monstring= "is 234,567,890 winter wax";
var cyear,cmonth,cday,thedate; The lunar calendar can only be 29 or 30 days per month, a year with 12 (or 13) bits, from high to low, corresponding bit of 1 for 30 days, otherwise 29 days CalendarData = new Array (0xa4b,0x5
This article mainly introduces how to use Javascript to obtain the lunar date code of the current date. It is very practical. If you need it, you can refer to the JavaScript code.
/* Set the lunar date */var CalendarData = new Array (100); var madd = new Array (12); var numString = "May 80 or 90 "; var monString = ""; var cYear, cMonth, cDay, TheDate; // the lunar
This article mainly introduces how php achieves the conversion of the Gregorian calendar and the Chinese name of the calendar.
This article mainly introduces how php achieves the conversion of the Gregorian calendar and the Chinese name of the calendar.
Recently, I was interested in the algorithm used to convert the Gregorian calendar to the lunar calendar, so I searched the internet. Yes, I found a pretty good php class. I realized the algorit
This article mainly introduces the js Code for getting the lunar calendar (lunar calendar) date in detail, which has some reference value, interested friends can refer to this article to share with you a piece of key code for displaying the lunar calendar (lunar calendar) and the current date in js for your reference.
This article mainly introduces the development of PHP into the lunar calendar and display solar terms, holidays and methods (PHP Class), has a certain reference value, now share to everyone, the need for friends can refer to
Calling methods
$lunar = new Lunar (), $month = $lunar->convertsolartolunar (the date (' Y
Create a new module and copy the following two functions. GLGETNL (), STRNL ()
Using in Queries: Select Glgetnl (born) as Nlborn from Empolyee where GLGETNL (born) > "05012" Order by Glgetnl (born)
The above query returns a list of more than May 12 employees for the lunar calendar, sorted by lunar birthday.
(Disclaimer: These two functions are not written from scratch, are modified on the Internet do not kn
Because the date of the lunar calendar, is calculated by the astronomers, until now only to the 2049, the future can also join!
CREATE TABLE Solardata
(
Yearid int NOT NULL,
Data char (7) is not NULL,
Dataint int NOT NULL
)
--Inserting data
INSERT into
Solardata Select 1900, ' 0x04bd8 ', 19416 UNION all SELECT 1901, ' 0x04ae0 ', 19168
Union ALL select 1902, ' 0x0a570 ', 42352 union ALL Select 1903, ' 0x054d5 ', 21717
Union ALL Select 1904, ' 0x0d260 '
Running multiple Web sites in the same Apache server, each of which does not actually occupy the entire server, can take advantage of the server's hardware resources through virtual web hosting services, reducing site build and operating costs. The main types of virtual host are divided into three kinds:1, based on IP portFor each different domain name of the virtual host set up a separate IP, therefore, in the server needs to set up a number of netwo
Virtualization of VMware 's storage and virtual hosting management (2)a , Simulation Environment650) this.width=650; "title=" Picture 1.png "src=" https://s3.51cto.com/wyfs02/M02/99/5E/wKiom1lHm7CiPhQ_ Aaddi6inyxu602.png "alt=" Wkiom1lhm7ciphq_aaddi6inyxu602.png "/>Second, the experimental objectives:Clones, snapshots, and templates for virtual machines.Third, the experimental requirements:1, open a openfiler, add 1000G of disk, and do the correspondi
Linux Web server (ii)1: Build a domain-based virtual hostFirst, set up a DNS server for two sites, and create a new zone, respectively: Www.goole.com and www.baidu.com2) Modify the configuration file3) Modify the data file4) Restart the DNS service5) Build Two websites6: Preparing the Web page7) Open the virtual host configuration file, modify the configuration file8: Add the following content9) Modify the master configuration file to enable the virtual hostvi/usr/local/httpd/conf/httpd.conf, re
If your site traffic is too large a general virtual host space can not meet your needs, then you have to consider the purchase of a hosting server.
(1). What is a server
Server is a high-performance computer, as a network node, storage, processing network 80% of data, information, so also known as the soul of the network. To make an image of the analogy: the server is like a post office switch, and computers, notebooks, PDAs, mobile phones, such as
Earlier I have introduced the "Free Chinese blog Service Evaluation", mainly introduced the Free blog Service (BSP) at home and abroad. This time I mainly introduce the WordPress system based on the Free blog service (hosting WordPress blog). Why do you choose the wordpress system? Because WordPress is a well-known open source software, completely free, the function is very powerful, many plug-ins, easy to use, customization is also strong, has now be
Tablespaces have two management modes: data dictionary and local hosting. If the data dictionary is used for maintenance, operations that occur on the database segment and are related to disk partition allocation (such as extending a table) will lead to operations on the data dictionary. If many tables with disk partitions are operated, the data dictionary becomes the bottleneck resource for these operations. It can be seen that if the data dictionary
This article mainly introduces the lunar calendar algorithm implemented by php, and analyzes in detail the principles of the lunar calendar algorithm and php implementation skills, which is of great practical value, for more information about the lunar calendar algorithm implemented by php, see the examples in this article. Share it with you for your reference. T
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.