Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 206 results for
julian-date
- Page 1
Julian date
Programming
Web Development
13 Years Ago
by jetlife76
Trying to figure out how to use the gregorianToJd function in php to determine the
julian
date
when a user inputs a specific
date
in time. i have my code to where it will do this without using the function, but now i need to show it using the function.
Re: Julian date
Programming
Web Development
13 Years Ago
by jetlife76
…['months']; $days = $_POST['day']; $years = $_POST['years']; //associative array for
Julian
Date
$monthdays=array( 'Jan'=>0, 'Feb'=>31, 'Mar'=>…'=>'October', 'Nov'=>'November', 'Dec'=>'December'); print"
Date
:$monthname[$months] $days, $years<br>"; $jd = gregoriantojd…
Julian Date Conversion
Programming
Software Development
12 Years Ago
by manticmadman
… there is a way to obtain the
Julian
date
from a given
date
input so I do not have to …my code? Thanks #parameter JD is today's current
Julian
Date
def SunRise(lat,lng,JD,y,m,d): import…datetime import datetime import time from datetime import
date
now =
date
.today day =
date
(y,m,d) Day =day.strftime('%j')…
Re: Julian Date Conversion
Programming
Software Development
12 Years Ago
by Gribouillis
I don't know about
julian
date
, but google led me to [this module](https://github.com/adrn/apwlib) (under GPL) which seems to implement the desired functionality by subclassing datetime. Conversion between degrees and radians can be done with math.degrees() and math.radians() in the standard library (numpy versions exist as well).
Re: Julian date to Calender Date
Programming
Software Development
17 Years Ago
by masijade
That is not a
Julian
Date
. That is simply the number of milliseconds since the "epic" (00:00:00 Jan 1st 1970 UTC) (i.e. a completely normal
date
as known in nearly all programming languages, excpet that some use seconds rather than milliseconds). Simply do [inlinecode]new
Date
(1187610073812);[/inlinecode].
Julian date to Calender Date
Programming
Software Development
17 Years Ago
by sarath.koiloth
[I][B][COLOR=Green]Please help me to get calender
date
from the given
Julian
date
(1187610073812). [/COLOR][/B][/I] [I][B][COLOR=Green]Thanks in Advance..:)[/COLOR][/B][/I]
Problem converting normal dates to julian date
Programming
Software Development
14 Years Ago
by msqueen082
… = Format("DDD - YYY") Then lblOut.Text = "
Julian
date
must have a dash" End If 'Prompts the user… to ' then JulianDate JulianDate = Val(txtJulian.Text) 'converts
julian
date
to a regular
date
If Int(JulianDate / 1000) < 30 Then 2Centuries = …
Re: Problem converting normal dates to julian date
Programming
Software Development
14 Years Ago
by msqueen082
…the correct format, like (ddd-yyyy) for
julian
date
.. im sure it is something very simple. […;DDD-YYYY" Then lblOut.Text = "
Julian
date
must have a dash" txtJulian.Focus() txtJulian.….Split("-"c) Dim dt As New
Date
(CInt(convertJulianDate(1)), 1, 1) returnDate = …
How to convert julian date to date using php
Programming
Web Development
11 Years Ago
by rpv_sen
Hi I am trying to convert
julian
date
in to
date
format. can any one please help me. **For Example:**
Julian
date
- 114021 Output Should be as below 2014/01/21 - (YYYY/MM/DD)
Re: Julian date
Programming
Web Development
13 Years Ago
by diafol
I don't see what your problem is. You've written your own code and you've used the php function. So what do you want?
Date difference Program!
Programming
Software Development
16 Years Ago
by dooper
… long jdn2; long julianDifference; //Calculates first
julian
date
intRes1 = ((2 - year1 / 100… //Displays first
julian
date
cout << "The first
Julian
Date
is "… //Displays second
julian
date
cout << "The second
Julian
Date
is " …
date converter
Programming
Software Development
14 Years Ago
by jalenamichelle
im trying to convert
julian
date
to calendar
date
and vice versa im not getting any…("
Date
Selection Menu\n"); printf("1) Calendar to
Julian
\n"); printf("2)
Julian
to …= getChoice(); switch (choice) { case 1 : calendarToJulian(); printf("
Julian
day: %d %d\n", calendarToJulian); break; case 2 : …
Re: Julian Date functions
Programming
Software Development
14 Years Ago
by tratak
use this: [CODE]dim jd as Double '
julian
day dim mDate as
date
' your
date
mdate = Now() jd = mdate.ToOADate[/CODE]
Julian Date functions
Programming
Software Development
19 Years Ago
by goboxe
Hi, I am looking at functions that convert standard
date
to
Julian
data and vice versa. I tried to search the forum, but found nothing. Thanks, G
Re: Problem converting normal dates to julian date
Programming
Software Development
14 Years Ago
by codeorder
… Sub End If '// rest of code here. MsgBox("valid
date
format")[/CODE]
Re: Julian Date Conversion
Programming
Software Development
12 Years Ago
by manticmadman
Thanks for your resonse.That looks like it will help me, unfortunately, I do not know how to install such additions. Any links on how to do that??
Re: Julian Date Conversion
Programming
Software Development
12 Years Ago
by Gribouillis
You can download the code by pushing the ZIP button in the project page, then uncompress the zip file. In a console (or cmd in windows), change directory to the module directory (the directory with the file setup.py), then in your console, as administrator or root, type python setup.py install and this should install the module in your python…
Re: Julian Date Conversion
Programming
Software Development
12 Years Ago
by hughesadam_87
YOu should start using the pandas package. It has explicit support for handling timeseries data and lots of builtin methods to convert. I imagine you're reinventing wheels somewhat.
Re: Julian Date Conversion
Programming
Software Development
12 Years Ago
by manticmadman
shoomoo...I am completely lost on how to install packages. Honestly, I've just finished my firt comp sci class, and am learning python on my own. http://www.clearskyinstitute.com/xephem/ Here is a package, I am dying to load and use.
Re: Julian Date Conversion
Programming
Software Development
12 Years Ago
by hughesadam_87
Yeah, I think there is definately a learning curve to installing packages in Python, mostly because some packages are easy to install and others are strange. What OS do you use? One thing I do is I use the Enthought Python Distribution, which comes packaged with most of the standard scientific libraries pre-installed (numpy, scipy, biophyton, …
Re: Julian date to Calender Date
Programming
Software Development
17 Years Ago
by arkaprava
year 3251 month july day 23 hr 12 min 0 sec 0
Re: date query problem
Programming
Software Development
16 Years Ago
by GaryOC
… with a legitimate
date
string to return your
Julian
date
(or without any argument for todays
Julian
date
) and call GetGDate with your
Julian
date
value to… return your legitimate Georgian
date
( or…
Re: Date Operations in C++
Programming
Software Development
12 Years Ago
by rubberman
… from a
julian
date
value. */
Date
( uint32_t jdate ); /** * Copy constructor. */
Date
(const
Date
& cpy); virtual ~
Date
() throw (LiveObjectError);
Date
& operator=(const
Date
& rhs); /** *
Date
arithmetic…
C++ help with Julian day program
Programming
Software Development
19 Years Ago
by djbsabkcb
…day into
julian
and then get todays
date
and tell how many days from the
julian
date
it is.… having problems with the output of the
julian
date
is off by 1 day and my difference…>> m_year; cin >> d_year; long today_date =
julian
( year, month, day); long difference = julian_date - today_date; //today_date…
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())
Converting Gregorian Date to number of days in the year
Programming
Software Development
16 Years Ago
by fourstar
… 2009 << the
Julian
date
is 1 << Enter the (Month
Date
, Year) i.e. March…; december 31, 2000 << the
Julian
date
is 366 It has to take into account … sum; cout << "Enter the (Month
Date
, Year) i.e. March 23, 1999: ";…// counter to add days in the month for the
date
for(i=0; i < mm; i++) sum…
How convert DATE() into number
Programming
Software Development
17 Years Ago
by Motvel
Which functions can help me to convert a
DATE
() into a double or integer number? Can i convert a Gregorian intro
Julian
date
? Thankyou.
Re: Date difference Program!
Programming
Software Development
16 Years Ago
by siddhant3s
Yes. Input the
date
as a std::string . Then use the[URL="http://…] function to slice the string to get individual strings for
Date
, Month and year. Lastly you would want to convert the…
Re: Date difference Program!
Programming
Software Development
13 Years Ago
by Masterlynx
…,year; cout << [COLOR="Red"]"Enter
date
: (format) : dd/mm/yy"[/COLOR]; cin >> day…
Re: date converter
Programming
Software Development
14 Years Ago
by jalenamichelle
…] do { choice = getChoice(); switch (choice) { case 1 : calendarToJulian(); printf("
Julian
day: %d %d\n", [U]calendarToJulian[/U]); break; case…
1
2
3
4
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
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC