Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 275 results for
gregorian
- Page 1
Re: gregorian to julian in python
Programming
Software Development
17 Years Ago
by Duoas
Python deals only with the
Gregorian
calendar. Certain terms (like "Julian") can …be properly applied to specific things withing the
Gregorian
system, but the Julian calendar it is not. Usually… the Proleptic
Gregorian
calendar serves well enough for modern computing tasks... Try …
gregorian to julian in python
Programming
Software Development
17 Years Ago
by axn
here is the snippet data = ''2007-12-31 Name (mike) Age (34).....'
gregorian
= time.strftime(data.split(" ")[0]) print
gregorian
this gives me "2007-12-31" i need to convert the
gregorian
date in the variable to julian date. i tried this but it gives me the current date julian = time.strftime('%j', time.localtime())
Re: gregorian calendar, help
Programming
Software Development
17 Years Ago
by modaslam
… i have given is to convert the normal date to
Gregorian
type. what they have explained is first they take two… days and convert to
Gregorian
type. and subtract second from first. so that they can… difference in days elapsed To convert a normal date to
Gregorian
type they used this function.
Re: gregorian calendar, help
Programming
Software Development
17 Years Ago
by modaslam
…can build a calendar in C language... ...as in
Gregorian
Calendar format and design Is there any code that could… help me to print or to display a
Gregorian
Calendar??? pls. reply... thanks... God bless... my yahoo … of format dd mm yy format and convert to
Gregorian
format well basically the this snippet is function used …
Re: gregorian calendar, help
Programming
Software Development
17 Years Ago
by jonnelgrande
I am wondering if we can build a calendar in C language... ...as in
Gregorian
Calendar format and design Is there any code that could help me to print or to display a
Gregorian
Calendar??? pls. reply... thanks... God bless... my yahoo email add is: [email]email snipped[/email]
Gregorian Calander
Programming
Software Development
17 Years Ago
by javaStud
… this reminder. I think this has to do with the
gregorian
calander, but I don't Know how to even tackle…
gregorian calendar, help
Programming
Software Development
17 Years Ago
by modaslam
…,month calculation. I found this code used to convert to
Gregorian
format for calculation. It would be great full for me…
gregorian calender
Programming
Software Development
16 Years Ago
by intelli
… for nay input value less than 1582 the year the
gregorian
calender was adopted.
Re: gregorian calender
Programming
Software Development
16 Years Ago
by intelli
… my 8th class first time java coder we are on
gregorian
calender and if else statements i just dont no how…
Re: gregorian calender
Programming
Software Development
16 Years Ago
by stultuske
… my 8th class first time java coder we are on
gregorian
calender and if else statements i just dont no how…
gregorian calendar
Programming
Software Development
14 Years Ago
by pooran.c
I need to implement
gregorian
calendar in java Please give me ideas how to start and what to use?
Re: gregorian calendar
Programming
Software Development
14 Years Ago
by mKorbel
[CODE]I need to implement
gregorian
calendar in java[/CODE] [CODE]yes i dont want to use GregrianCalendar class. Need implement without that[/CODE] please don't forget to tell us who finally won
Gregorian to Julian
Programming
Software Development
13 Years Ago
by willywhomperz
I am new to Java and could use some help. Trying to write something using scanner or a JoptionPane to convert inputs from
Gregorian
to Julian. Then use interface to convert it the other way. How do I start and what do I do?
Re: Gregorian Calender help
Programming
Software Development
17 Years Ago
by adpeate
… to Jez - well same basic idea - create an instance of
gregorian
to store time and date data for appointments, and iv…
BOOST: Gregorian Date/Time error
Programming
Software Development
15 Years Ago
by SonxQ7
…i get [CODE]undefined reference to 'boost::
gregorian
::greg_month::get_month_map_ptr() '[/CODE] on the following… and MinGW .. [CODE] #include "boost/date_time/
gregorian
/
gregorian
.hpp" #include <iostream> int main()… { using namespace boost::
gregorian
; std::string s; std::cout << "…
SQL query to convert Gregorian dates to Hijri
Programming
Software Development
14 Years Ago
by awmantonio
… it's converter inside the forms (using datetimepicker for the
Gregorian
& maskedtextbox for the Hijri). I'd like to …produce the corresponding equivalent Hijri dates of a series of
Gregorian
dates generated in my table? I am using SQL …an item bought. Is there an SQL query to convert
Gregorian
dates saved into Hijri dates to an Access table? …
Re: SQL query to convert Gregorian dates to Hijri
Programming
Software Development
14 Years Ago
by AndreRet
… dates from access, write a function to convert this to
gregorian
and THEN only show the result. Look at the link…
Re: SQL query to convert Gregorian dates to Hijri
Programming
Software Development
14 Years Ago
by awmantonio
AndreRet, As I mentioned I already have the code where it displays the Hijri/
Gregorian
(vice versa) conversion in my forms. What I need is to convert them and save also the corresponding equivalents in the Hijri date column in my Access table. Thanks for the reply though..! :)
The Gregorian Calendar
Programming
Software Development
19 Years Ago
by hmadison1984
… write a C++ program in Unix that gives me the
Gregorian
calendar with exceptions to leap year. I have all of…
Re: gregorian to julian in python
Programming
Software Development
17 Years Ago
by woooee
The Python Cookbook is the first place to look. The following link states "- Added conversion to and from Julian Day number". I haven't tried it. [url]http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/117215[/url]
Re: gregorian to julian in python
Programming
Software Development
17 Years Ago
by Duoas
Unfortunately, the "Julian Day Number" is one of those terms I mentioned (or rather, it is often abused to mean "the day of the year"). Fortunately it looks like that link uses the JDN correctly! Nice catch!
Re: Gregorian Calander
Programming
Software Development
17 Years Ago
by jwenting
1) use code tags 2) read the documentation for Calendar, it's quite good (and do NOT explicitly instantiate a GregorianCalendar, Java will pick the correct Calendar subclass for the Locale you're executing under automatically if you use the right factory method).
Re: Gregorian Calander
Programming
Software Development
17 Years Ago
by schoolsoluction
something like this you are looking for? [CODE] Calendar calExpired = Calendar.getInstance(); calExpired.add(Calendar.MONTH, -3); Date date_lastlogin = null; //get it from your db or log file... Calendar cal_lastlogin = Calendar.getInstance(); cal_lastlogin.setTime(date_lastlogin); if(cal_lastlogin.before(calExpired)) …
Re: Gregorian Calander
Programming
Software Development
17 Years Ago
by javaStud
First of all thanks already for your help.I don't know if I am tackling the problem correctly. I tried to alter the code, but I don't know if it is logically correct and the most important think if it works as required. Sorry not to include code tags but I still can't manage to use them.Promise that next time I'll try my best to use them. Thanks.…
Re: gregorian calendar, help
Programming
Software Development
17 Years Ago
by Narue
>what are these constants Why don't you ask the person who created the formula? >why m-1, yy-1 etc.. I imagine because m and yy are 1 based, and the formula works better with values that are 0 based.
Re: gregorian calendar, help
Programming
Software Development
17 Years Ago
by jim mcnamara
I have no idea why the original coder wrote that stuff, except it appears the s/he did not know about the standard C library date/time functions. date arithmetic is best done with that library - convert a date/time to a struct tm, convert the struct tm to epoch seconds. Do the same thing with another time or date. Now you can add subtract or …
Re: gregorian calender
Programming
Software Development
16 Years Ago
by peter_budo
Did you managed yet the easy part of the homework, collecting the integer value from the user?
Re: gregorian calender
Programming
Software Development
16 Years Ago
by stultuske
how far are you in your course, how many classes have you actually attended and what do you have a problem with, the basic logic behind the assignment or the coding? Peter sure's right on this: no teacher 'll give you an assignment using GregorianCalendar and Exceptions before they teach you how to read input, either by command prompt or using …
Re: gregorian calender
Programming
Software Development
16 Years Ago
by intelli
thx i solved this
Re: gregorian calendar
Programming
Software Development
14 Years Ago
by JamesCherrill
Sun have saved you the bother - see java.util.GregorianCalendar in the Java API. If you have to do this yourself then a read through the preamble to the doc for java.util.GregorianCalendar will give you a good intro into what you need to achieve.
1
2
3
5
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC