473,385 Members | 1,409 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Whats the equal to the VB Now function

I'm writing and app in c#2.0 (converting from vb) and would like to know
what I should replace the vb Now function with.

Thanks.

--
mo*******@noemail.noemail
Mar 13 '07 #1
7 14014
On Mar 13, 3:30 pm, "moondaddy" <moonda...@noemail.noemailwrote:
I'm writing and app in c#2.0 (converting from vb) and would like to know
what I should replace the vb Now function with.

Thanks.

--
moonda...@noemail.noemail
DateTime.Now()

Thanks,

Seth Rowe

Mar 13 '07 #2
moondaddy <mo*******@noemail.noemailwrote:
I'm writing and app in c#2.0 (converting from vb) and would like to know
what I should replace the vb Now function with.
Look at DateTime.Now and DateTime.UtcNow.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Mar 13 '07 #3
that's hilarious
why in the hell would you rewrite something that works already?
you must work at Microsoft; they don't actually have to hit deadlines
or accomplish anything..

just sit around wasting time; rewriting Excel VBA into C#

ROFL
..NET SUCKS and C# was never invented!!


On Mar 13, 12:30 pm, "moondaddy" <moonda...@noemail.noemailwrote:
I'm writing and app in c#2.0 (converting from vb) and would like to know
what I should replace the vb Now function with.

Thanks.

--
moonda...@noemail.noemail

Mar 13 '07 #4
Obviously you have even more time to waste by showing the world how stupid
you are by writing these types of responses.

Congratulations!

You just gave a new meaning to Idiot.
"PFC Sadr" <pf******@hotmail.comwrote in message
news:11*********************@n59g2000hsh.googlegro ups.com...
that's hilarious
why in the hell would you rewrite something that works already?
you must work at Microsoft; they don't actually have to hit deadlines
or accomplish anything..

just sit around wasting time; rewriting Excel VBA into C#

ROFL
.NET SUCKS and C# was never invented!!


On Mar 13, 12:30 pm, "moondaddy" <moonda...@noemail.noemailwrote:
>I'm writing and app in c#2.0 (converting from vb) and would like to know
what I should replace the vb Now function with.

Thanks.

--
moonda...@noemail.noemail


Mar 13 '07 #5
Thanks to Jon and Seth! That's what I needed.

"Jon Skeet [C# MVP]" <sk***@pobox.comwrote in message
news:MP************************@msnews.microsoft.c om...
moondaddy <mo*******@noemail.noemailwrote:
>I'm writing and app in c#2.0 (converting from vb) and would like to know
what I should replace the vb Now function with.

Look at DateTime.Now and DateTime.UtcNow.

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too

Mar 13 '07 #6
On Mar 13, 4:23 pm, "moondaddy" <moonda...@noemail.noemailwrote:
Obviously you have even more time to waste by showing the world how stupid
you are by writing these types of responses.

Congratulations!

You just gave a new meaning to Idiot.

"PFC Sadr" <pfc_s...@hotmail.comwrote in message

news:11*********************@n59g2000hsh.googlegro ups.com...
that's hilarious
why in the hell would you rewrite something that works already?
you must work at Microsoft; they don't actually have to hit deadlines
or accomplish anything..
just sit around wasting time; rewriting Excel VBA into C#
ROFL
.NET SUCKS and C# was never invented!!
On Mar 13, 12:30 pm, "moondaddy" <moonda...@noemail.noemailwrote:
I'm writing and app in c#2.0 (converting from vb) and would like to know
what I should replace the vb Now function with.
Thanks.
--
moonda...@noemail.noemail

Ignore him - he's trolling.

http://en.wikipedia.org/wiki/Troll_%28Internet%29

Thanks,

Seth Rowe

Mar 13 '07 #7
PS
"PFC Sadr" <pf******@hotmail.comwrote in message
news:11*********************@n59g2000hsh.googlegro ups.com...
that's hilarious
why in the hell would you rewrite something that works already?
I'm surprised your Commodore 64 connects to the internet.
you must work at Microsoft; they don't actually have to hit deadlines
or accomplish anything..
is that the secret to becoming a billionaire?

On Mar 13, 12:30 pm, "moondaddy" <moonda...@noemail.noemailwrote:
>I'm writing and app in c#2.0 (converting from vb) and would like to know
what I should replace the vb Now function with.

Thanks.

--
moonda...@noemail.noemail


Mar 14 '07 #8

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

Similar topics

4
by: Joneseyboy | last post by:
Hi, I'm new to this so I could really do with some help! I am using VB.net to create a small game. basically there is a Textbox, a button and a listbox. The user enters a number into the...
4
by: Gerry Abbott | last post by:
Hi All, Im trying to use thie combination but have not had success. Below is the function It tried the following myriskLevel(2,2) myrisklevel(0,0,2) and the ismissing(Three) alwasy...
5
by: kernel.lover | last post by:
hello, I want to know if a fuction say malloc is declared as void *malloc() then whats the significance of void here. Does void * is used when function has the flexibility to return any type of...
2
by: balakumar | last post by:
whats that equal function vb chr() to c#? Thanks balakumar
34
by: Spidey | last post by:
What kind of formating can be done with %p in printf
1
by: faryal | last post by:
hi, i want to know wat Get function do in VB6.0 .here is a piece of code in which it is used but i m not able to understand...can any body help????Dim Ending As Long, end2 As Long SavePicture...
2
by: mosesdinakaran | last post by:
Hi everybody, Today I faced a problem where I am very confused and I could not solve it and I am posting here.... My question is Is is possible to return a value to a particular function ...
2
by: Nosferatum | last post by:
This script is meant to limit access by sessions, using username and password from mysql db and redirect users after login according to a given value belonging to each user in the db (10,20,30,40)....
8
by: kamhal | last post by:
i was given an assignment to create a pseudocode or a code which will provide an equal function as .toString and .parse (need a code for each) i was wondering if someone might help.
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.