473,513 Members | 2,356 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

sumowanie czasu

Mam takie kalendarzowe pytanie. Zapisuje czas w postaci tablicy znaków, jak
poniżej:

yymmddhhmm

yy - rok
mm - miesi±dz
dd - dzień
hh - godzina
mm - minuta

teraz do tak zdefiniowanego czasu chcę dodać drug± datę. Na przykład

0407061645
0205121026

czyli do 6'tego lipca 2004, godz. 16:45 chcę dodać 12'ty maja 2002, godz.
10:26

Dodawanie minut i godzin opanowałem, i teraz jest problem takiej natury: czy
miesi±dz ma 28, 30 czy 31 dni; wiem, że tego uczyli w przedszkolu, ale byłem
na wagarach.

Dzięki za pomoc
Mrek
Jul 22 '05 #1
7 2204
przepraszam, głupie i nie istotne pytanie... wszystko co chcę zrobić już
istnieje

Pozdrawiam i przepraszam
Mrek
Jul 22 '05 #2
Marek Szarafiński junior wrote:
przepraszam, głupie i nie istotne pytanie... wszystko co chcę zrobić już
istnieje

Pozdrawiam i przepraszam
Mrek


csid woiprxweup w re upruicwoip vr n p reuw cewr w poiwc cpn cunncew p
urcn cewpirocn epw ncwpoirec n

piocupwe opweirc p i cp nenrc poiw cnprpewn piwuepnc eworc p wep n
cprpc wiurpwe pwerc p vty vfoi

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl
Jul 22 '05 #3

"Peter van Merkerk" <me*****@deadspam.com> wrote in message
news:2l************@uni-berlin.de...
Marek Szarafiqski junior wrote:
przepraszam, g3upie i nie istotne pytanie... wszystko co chcj zrobif ju?
istnieje

Pozdrawiam i przepraszam
Mrek


csid woiprxweup w re upruicwoip vr n p reuw cewr w poiwc cpn cunncew p
urcn cewpirocn epw ncwpoirec n

piocupwe opweirc p i cp nenrc poiw cnprpewn piwuepnc eworc p wep n
cprpc wiurpwe pwerc p vty vfoi

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl


Ok, I'll bite. Is this actually a question and answer, or a joke? What
language has "g3upie" as a word? Or "cprpc"? That sure looks hard to
pronounce! (Maybe it's just my newsreader setting, unable to handle
whatever language set this is?)

-Howard
Jul 22 '05 #4
Howard wrote:
"Peter van Merkerk" <me*****@deadspam.com> wrote in message
news:2l************@uni-berlin.de...
Marek Szarafiqski junior wrote:

przepraszam, g3upie i nie istotne pytanie... wszystko co chcj zrobif ju?
istnieje

Pozdrawiam i przepraszam
Mrek


csid woiprxweup w re upruicwoip vr n p reuw cewr w poiwc cpn cunncew p
urcn cewpirocn epw ncwpoirec n

piocupwe opweirc p i cp nenrc poiw cnprpewn piwuepnc eworc p wep n
cprpc wiurpwe pwerc p vty vfoi

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl

Ok, I'll bite. Is this actually a question and answer, or a joke? What
language has "g3upie" as a word? Or "cprpc"? That sure looks hard to
pronounce! (Maybe it's just my newsreader setting, unable to handle
whatever language set this is?)


The original post and the follow-up are in Polish. The response from
Peter is just banging on the keyboard, AFAICT.

The OP was basically asking to do his homework for him. Nobody who reads
Polish is probably interested in replying.

The OP's task is relatively simple: to add two datetime values given
a certain time format (YYMMDDHHMM). The posting from Marek is offtopic
for two reasons: looks too much like a homework and has nothing to do
with the language (and instead is a general programming problem).

Victor
Jul 22 '05 #5
On Wed, 07 Jul 2004 18:08:22 GMT, "Howard" <al*****@hotmail.com>
wrote:

"Peter van Merkerk" <me*****@deadspam.com> wrote in message
news:2l************@uni-berlin.de...
Marek Szarafiqski junior wrote:
> przepraszam, g3upie i nie istotne pytanie... wszystko co chcj zrobif ju?
> istnieje
>
> Pozdrawiam i przepraszam
> Mrek


csid woiprxweup w re upruicwoip vr n p reuw cewr w poiwc cpn cunncew p
urcn cewpirocn epw ncwpoirec n

piocupwe opweirc p i cp nenrc poiw cnprpewn piwuepnc eworc p wep n
cprpc wiurpwe pwerc p vty vfoi

--
Peter van Merkerk
peter.van.merkerk(at)dse.nl


Ok, I'll bite. Is this actually a question and answer, or a joke? What
language has "g3upie" as a word? Or "cprpc"? That sure looks hard to
pronounce! (Maybe it's just my newsreader setting, unable to handle
whatever language set this is?)

-Howard


The OP is writing in Polish. The response is probably just a joke, but
there are a lot of languages out there ... I just don't recognize it
as one of them (could be Welsh for all I know).

I don't speak Polish, but "g3upie" would probably be "glupie" with a
slash through the 'l', and if it means the same as its Russian
counterpart, it would mean "stupid". "Przepraszam" means "excuse me"
or "I'm sorry".

Anybody speaking Polish care to illuminate us (in English, that is
<g>)?

--
Bob Hairgrove
No**********@Home.com
Jul 22 '05 #6
Bob Hairgrove wrote:
[...]
The OP is writing in Polish. The response is probably just a joke, but
there are a lot of languages out there ... I just don't recognize it
as one of them (could be Welsh for all I know).

I don't speak Polish, but "g3upie" would probably be "glupie" with a
slash through the 'l', and if it means the same as its Russian
counterpart, it would mean "stupid". "Przepraszam" means "excuse me"
or "I'm sorry".

Anybody speaking Polish care to illuminate us (in English, that is
<g>)?


Yes, I care :). It starts with "sorry for the silly question"
and is indeed a homework kinda general programming question,
way OT, but Victor had pointed that out already.

- J.
Jul 22 '05 #7
Jacek Dziedzic <ja*************@janowo.net> spoke thus:
Yes, I care :). It starts with "sorry for the silly question"
and is indeed a homework kinda general programming question,
way OT, but Victor had pointed that out already.


Perhaps someone should do OP a favor and give him the rundown in
Polish? ;)

--
Christopher Benson-Manica | I *should* know what I'm talking about - if I
ataru(at)cyberspace.org | don't, I need to know. Flames welcome.
Jul 22 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1518
by: ezaq | last post by:
witam, Na serwerze, jest przestawiony czas o 6 min, jak najsprawniej wyswietlic rzeczywist czas godz. i min. ? Jak w skrypcie wprowadzic opoznienie 6 min. aby byla wyswietlana poprawna...
6
26571
by: ..... | last post by:
I have an established program that I am changing to allow users to select one of eight languages and have all the label captions change accordingly. I have no problems with English, French, Dutch,...
5
2433
by: Slawomir Piotrowski | last post by:
Hello, I'm writing C# code and executing it using InstallUtilLib.dll from custom action during an installation process. It works fine. I've written some code to add an item (component) to...
1
1522
by: Mossy | last post by:
Witam! Dopiero zaczynam korzystac z dobrodziejstwa jakim jest usenet. Mysle ze choc troche pomocy tu otrzymam. Chce napisac sobie baze, ktora pozwoli mi zrobic remanent w sklepie rodzicow. Tzn....
0
1491
by: Dominik | last post by:
http://minek.cba.pl -- http://minek.cba.pl
0
7267
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7175
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7391
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7553
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7120
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5100
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4754
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3235
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1609
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.