CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > migration_to_asp.net.migrating_from_php_to_asp.net Tags:
Item Type: NewsGroup Date Entered: 6/25/2002 5:39:23 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 4 Views: 31 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
5 Items, 1 Pages 1 |< << Go >> >|
nolazabal
Asp.Net User
php time() function6/25/2002 5:39:23 PM

0/0

On php there is a function called time() that returns the current UNIX timestamp, now I have a database with that data already in it, what function I can use in asp.net to get the same current UNIX timestamp?

Thank you
ala'a
Asp.Net User
Re: php time() function9/1/2002 6:35:01 AM

0/0

This might help you. Good luck.

http://dev.wwc.edu/soap-test/DateTime.source.php

jammycakes
Asp.Net User
Re: php time() function9/14/2002 8:47:28 PM

0/0

Use this C# expression:

(DateTime.UtcNow - new DateTime(1970,1,1,0,0,0)).TotalSeconds

HTH
James McKay
Senior Developer, EurekaStep Ltd
jammycakes
Asp.Net User
Re: php time() function9/15/2002 11:15:36 AM

0/0

.... and of course to convert a Unix datestamp to an asp.net DateTime value use

(new DateTime(1970,1,1,0,0,0)).AddSeconds(datestamp)
James McKay
Senior Developer, EurekaStep Ltd
Scuba Steve
Asp.Net User
Re: php time() function11/12/2003 7:14:45 AM

0/0

Is there a way to do this using ASP VbScript? I haven't learned .net yet.

Thanks,

Justin
5 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
PHP and MySQL for Dynamic Web Sites: Visual QuickPro Guide Authors: Larry Edward Ullman, Pages: 572, Published: 2003
PHP 5 Recipes: A Problem-solution Approach Authors: Lee Babin, Jon Stephens, Nathan A. Good, Frank M. Kromann, Pages: 646, Published: 2005
Learning PHP and MySQL: [Step-by-step Guide to Create Database-driven Web Sites] Authors: Michele E. Davis, Jon Phillips, Pages: 359, Published: 2006
Web Database Applications with PHP and MySQL: Building Effective Database-Driven Web Sites Authors: Hugh E. Williams, David Lane, David John Lane, Pages: 796, Published: 2004
Beginning PHP and MySQL 5: From Novice to Professional Authors: W. Jason Gilmore, Pages: 913, Published: 2006
Beginning PHP and MySQL: From Novice to Professional Authors: W. Jason Gilmore, Pages: 1044, Published: 2008
Beginning PHP and PostgreSQL 8: From Novice to Professional Authors: W. Jason Gilmore, Robert H. Treat, Pages: 857, Published: 2006
PHP and MySQL Web Development Authors: Luke Welling, Laura Thomson, Pages: 871, Published: 2003
PHP5 and MySQL Bible Authors: Tim Converse, Joyce Park, Clark Morgan, Pages: 1042, Published: 2004
Php 5 Fast & Easy Web Development: Fast & Easy Web Development Authors: Julie C. Meloni, Pages: 545, Published: 2004

Web:
PHP: time - Manual PHP: date - Manual PHP Date Time function and time stamp php time stamp functions time() & different time zone settings.
PHP time() function Jan 30, 2006 ... PHP Date Reference Complete PHP Date Reference. Definition and Usage. The time() function returns the current time as a Unix timestamp (the ...
php time() function - ASP.NET Forums On php there is a function called time() that returns the current UNIX timestamp , now I have a database with that data already in it, ...
Date Function PHP - Time Function PHP - Date & Time PHP Learn PHP from a simple web based tutorial. How to use functions in PHP, use the date function, or write your own functions.
PHP Date / Time Functions PHP Date / Time Introduction. The date/time functions allow you to extract and format the date and time on the server. Note: These functions depend on the ...
Writing PHP - 10: PHP Date and Time functions Date and time functions. Unlike Javascript, note that when PHP retrieves the time, it will be the local server time, not necessarily your local (browser) ...
How do I get local time with the PHP time function? :: Free Tech ... Free Tech Support on How do I get local time with the PHP time function? from Dave Taylor.
Get the correct time by converting between time zones with PHP and ... PHP comes with an extensive catalog of date and time functions, all designed to let you easily retrieve temporal information, massage it into a format you ...

Videos:
Top 12 Tiny Freeware Windows Programs that Save tons of time Taskbar Shuffle http://www.freewebs.com/nerdcave/taskbarshuffle.htm (also, the quick key for un-minimized is shift+windowskey+m) Always on Top http:...
Akelos Framework Screencast. The power of Rails on PHP This is a version of the famous RoR "Creating a blog in 15 minutes" screencast by DHH, but this time using the Akelos PHP Framework, which is a port ...
Nokia N95 Time Lapse - Melt Freeze http://forums.mobileburn.com/showthread.php?t=21765 for details on the time lapse and DIY DOCK to gorillapod accessory. http://www.womworld.com/nser...
Professor Malcolm Clarke talks about his research into Pygmy Sperm Whales Professor Malcolm Clarke talks about his research into Pygmy Sperm Whales. At one time critics of his research into the function of the Spermacetti i...
How to Make A Website (and get it up and running!) PART 1/3 Hey guys, this is my first tutorial, teaching you how to make your own website as well as upload all the files and make the pages function correctly,...
Time-Varying BRDFs http://www1.cs.columbia.edu/CAVE/projects/tvbrdf/tvbrdf.php This video clip shows the acquisition, analysis, modeling and rendering of a wide range ...
Heat Two Meals in the Microwave at the Same Time! http://www.AutoGoFast.com/product.php?p=20774429&c=430 The Hot Mate is a heat resistant tray that allows you to easily and safely lift hot food with...
Heat Two Meals in the Microwave at the Same Time! http://www.AutoGoFast.com/product.php?p=20774429&c=430 The Hot Mate is a heat resistant tray that allows you to easily and safely lift hot food with...
Free WoW Subscription Time YOU CAN ALSO GO TO THIS LINK.. LITERALLY ALL YOU DO IS SIGN UP WITH FAKE INFO AND CLICK A COUPLE ADVERTISMENTS http://www.prizerebel.com/index.php?r=...
FREE Gifts, Cash iPhone 360 Wii PS3 PC Laptops All 4 U http://www.YourFreeiPhone.com/index.php?ref=5441494 *Note* All these sites function the same because they are ran by the same company. 2. Sign Up (...




Search This Site:










the equivilant of $_session()

password hashing php vs. vb.net (sha1() vs. hashpasswordforstoringinconfigfile)

php library

from php to asp.net

migrating php to asp.net (vb.net)

coming from a php + java background.

same sql support?

simple php script - conversion to asp.net

php style includes

php time() function

classes

how-to put data from a db into (for example) a session

php

is there an accepted way to create database connections?

future of asp.net

work with visual studio 2005

relative $_server[http_host]

passing values from php to asp.net webform

curl equivalent in php

concatenating an iterator onto a string

php -> asp transfer

array of submitted form values

is asp.net overkill?

want to migrate a .pl contact form to asp.net

using migration assistant with visual studio 2005

is it possible to call aspx page from php web site?

see the variables of a soapclient

article on oracle.com - php and asp.net go head-to-head

associated arrays => hashtable ?

educatded reasons as to migrating to asp.net

  Privacy | Contact Us
All Times Are GMT