473,598 Members | 3,161 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.Net [2.0] - Converting a date to a new format...

Hi all,

Ok - I've come from a 1.1 background - and previously I've never had any
problem with doing this:

Response.Write (Session("MyDat e").ToString("d d/MM/yyyy"))

So, I might get this for example:

21/05/2006

Ok - just tried exactly the same thing in .net 2.0 and I'm having no end of
problems..

My date comes from my SQL Server database which is stored as a datetime.

This value gets plonked into my class which both stores the value as a DATE
and returns the value via a property as a DATE.

It doesn't seem to matter what I try I can either only dump out the whole
value (21/05/2006 19:59:00) or get myself a nice error message...

To say that this was beginning to give me the "red arse" would be an
understatement. ..I therefore admit defeat and ask that someone wiser in this
group assist me..

I thank you in advance my .Net Grand-Masta's...

Rob :o)
May 21 '06 #1
12 2586
"Rob Meade" <te************ *********@edaem .bbor>'s wild
thoughts were released on Sun, 21 May 2006 19:00:46 GMT
bearing the following fruit:
Hi all,

Ok - I've come from a 1.1 background - and previously I've never had any
problem with doing this:

Response.Wri te (Session("MyDat e").ToString("d d/MM/yyyy"))

So, I might get this for example:

21/05/2006

Ok - just tried exactly the same thing in .net 2.0 and I'm having no end of
problems..

My date comes from my SQL Server database which is stored as a datetime.

This value gets plonked into my class which both stores the value as a DATE
and returns the value via a property as a DATE.

It doesn't seem to matter what I try I can either only dump out the whole
value (21/05/2006 19:59:00) or get myself a nice error message...

To say that this was beginning to give me the "red arse" would be an
understatement ...I therefore admit defeat and ask that someone wiser in this
group assist me..

I thank you in advance my .Net Grand-Masta's...

Rob :o)


I'm not clear what the problem is, you appear to be saying
you want date variables to act like formatted strings and
that ain't gonna happen.

What does it matter how the data variable holds the date?
Aren't you displaying the date in the format you desire
anyway?

Jan Hyde (VB MVP)

--
What's the difference between a tale of lost cash and a secluded
religious community?
One is a money story, and the other is a monastery

(Lars Hanson)

May 22 '06 #2
"Jan Hyde" wrote ...
I'm not clear what the problem is, you appear to be saying
you want date variables to act like formatted strings and
that ain't gonna happen.
Hi Jan, thank you for your reply.

Clearly I didn't explain myself very well...my apologies.
What does it matter how the data variable holds the date?
Aren't you displaying the date in the format you desire anyway?


I have the date stored in the database and my class as a date, it also has
the time etc...

What I want to be able to do on my web page is say this:

"Last updated: 22/05/2006 11:46"

what I dont want is this:

"Last updated: 05/22/2006 11:46:01 AM" or whatever else it feel like adding
etc :)

What I used to be able to do was this:

Response.Write (myDate.ToStrin g("dd/MM/yyyy HH:mm")

and I get exactly that:
22/05/2006 11:46

I am unable to do this now in .net 2.0 - the ToString function does not give
you the format stuff in the brackets, instead I get an "index" instead?
whats a bit weird is that I can type..

..ToString.ToSt ring("dd/MM/yyyy") - not that it worked, but I thought it odd
I could tostring a tostring??!

Is any of this any clearer?

Regards

Rob

PS: What do you use to configure that reply at the top?
ie,
May 22 '06 #3
Damn that control+enter keyboard short cut!!!

What I meant was - how do you automate this kind stuff with your own
message - I've seen it before but never been able to find a way of doing
it..
"Rob Meade" wild thoughts were released on Sun, 21 May 2006 19:00:46 GMT
bearing the following fruit:


hehe
May 22 '06 #4
"Rob Meade" <ku************ ***@edaem.bor>' s wild thoughts
were released on Mon, 22 May 2006 11:49:06 +0100 bearing the
following fruit:
"Jan Hyde" wrote ...
I'm not clear what the problem is, you appear to be saying
you want date variables to act like formatted strings and
that ain't gonna happen.
Hi Jan, thank you for your reply.

Clearly I didn't explain myself very well...my apologies.
What does it matter how the data variable holds the date?
Aren't you displaying the date in the format you desire anyway?


I have the date stored in the database and my class as a date, it also has
the time etc...

What I want to be able to do on my web page is say this:

"Last updated: 22/05/2006 11:46"

what I dont want is this:

"Last updated: 05/22/2006 11:46:01 AM" or whatever else it feel like adding
etc :)

What I used to be able to do was this:

Response.Wri te (myDate.ToStrin g("dd/MM/yyyy HH:mm")

and I get exactly that:
22/05/2006 11:46

I am unable to do this now in .net 2.0 - the ToString function does not give
you the format stuff in the brackets, instead I get an "index" instead?
whats a bit weird is that I can type..

OK, can you show us how 'mydate' is declared because I don't
see "index"
.ToString.ToSt ring("dd/MM/yyyy") - not that it worked, but I thought it odd
I could tostring a tostring??!

Is any of this any clearer?

Regards

Rob

PS: What do you use to configure that reply at the top?
ie,


Depends on your newsreader, you should be able to configure
the that text.


Jan Hyde (VB MVP)

--
Sinuses run in our family (Richard Lederer)

May 22 '06 #5
"Rob Meade" <ku************ ***@edaem.bor>' s wild thoughts
were released on Mon, 22 May 2006 11:55:25 +0100 bearing the
following fruit:
Damn that control+enter keyboard short cut!!!

What I meant was - how do you automate this kind stuff with your own
message - I've seen it before but never been able to find a way of doing
it..
"Rob Meade" wild thoughts were released on Sun, 21 May 2006 19:00:46 GMT
bearing the following fruit:


hehe


I tried outlook express a couple of times but I find it so
difficult to use as a newsreader I give up. Give Free Agent
a try, I find it very easy to use.

Jan Hyde (VB MVP)

--
Sinuses run in our family (Richard Lederer)

May 22 '06 #6
"Jan Hyde" wrote ...
I tried outlook express a couple of times but I find it so
difficult to use as a newsreader I give up. Give Free Agent
a try, I find it very easy to use.


Hi Jan,

Thanks for that - I'll have a looky this evening - appreciated :o)

Rob
May 22 '06 #7
"Jan Hyde" wrote ...
OK, can you show us how 'mydate' is declared because I don't see "index"


okey dokey - I'll post it up this evening, its on my laptop at home at the
moment....if its of any help - I can roughly remember (but will still post
this evening).,..

My "User" class has a class variable

Private _profileLastUpd ated AS Date

I also have a property for that..

Public Property ProfileLastUpda ted As Date
Get
...
Set
..
End Property

I populate this via my data access layer....

Where I have a function that populates a datatable, a item is taken from the
row and pushed into the property of my User class...

Something like this:

User.ProfileLas tUpdated = DataTable.Rows( 0).Item("Profil eLastUpdated")

I think thats about it - as I said I'll post the code up propertly this
evening, but that all feels familiar to me....

On the web page I then have a label which I populate on my page load (or at
least a function called from the page load)....

lblProfileLastU pdated = "Last updated: " & User.ProfileLas tUpdated

that would give me...

Last Updated: 22/05/2006 15:27:00

I basically want to lose the seconds from that - and a character mangling
solution wasn't really what I wanted (ie, using LEFT / RIGHT / LEN) -as I'd
used the format part of .ToString before I assumed it would work fine here
too...

Regards

Rob
May 22 '06 #8
"Rob Meade" <ku************ ***@edaem.bor>' s wild thoughts
were released on Mon, 22 May 2006 15:28:31 +0100 bearing the
following fruit:
"Jan Hyde" wrote ...
OK, can you show us how 'mydate' is declared because I don't see "index"


okey dokey - I'll post it up this evening, its on my laptop at home at the
moment....if its of any help - I can roughly remember (but will still post
this evening).,..

My "User" class has a class variable

Private _profileLastUpd ated AS Date

I also have a property for that..

Public Property ProfileLastUpda ted As Date
Get
...
Set
..
End Property

I populate this via my data access layer....

Where I have a function that populates a datatable, a item is taken from the
row and pushed into the property of my User class...

Something like this:

User.ProfileLa stUpdated = DataTable.Rows( 0).Item("Profil eLastUpdated")

I think thats about it - as I said I'll post the code up propertly this
evening, but that all feels familiar to me....

On the web page I then have a label which I populate on my page load (or at
least a function called from the page load)....

lblProfileLast Updated = "Last updated: " & User.ProfileLas tUpdated

that would give me...

Last Updated: 22/05/2006 15:27:00

I basically want to lose the seconds from that - and a character mangling
solution wasn't really what I wanted (ie, using LEFT / RIGHT / LEN) -as I'd
used the format part of .ToString before I assumed it would work fine here
too...

Regards

Rob


I tried to mimic your setup but I still get the option to
provide a format string. I just know this is gonna be
something so simple we'll both kick ourselves.


Jan Hyde (VB MVP)

--
Metallurgist: Someone who is allergic to iron. (Leo Roston)

May 22 '06 #9
"Jan Hyde" wrote ...
I tried to mimic your setup but I still get the option to
provide a format string. I just know this is gonna be
something so simple we'll both kick ourselves.


Hi Jan, ok - my apologies for the delay - the following is my code, its a
bit lengthly for a group posting but I figured you'd wanna see it all
really..please also note that this is a work in progress so some things
aren't finished yet (although feel free to comment upon anything you thinks
a bit poor)...you might wanna paste this into VS to make it reformat a bit
better...

Basically, when I log in, I run a function to get my the user (GetUser) -
which I pass my username/password to (I mention this only because there are
2 GetUser functions below).

This returns me my "User" object - the ProfileLastUpda ted has been populated
with a date from SQL Server and it includes the time.

I then populate my session variables accordingly; for the one in question:

Session("Profil eLastUpdated") = User.ProfileLas tUpdated

This should currently hold a "date"

On my "UpdateProfile. aspx" page, if the page is not a post back then I
display a label which should have a date and time in it:

lblProfileLastU pdated.Text = "last updated " & <my_value_goes_ here>

So, if I do this:
lblProfileLastU pdated.Text = "last updated " & Session("Profil eLastUpdated")

I get this on the page:

"last updated 23/05/2006 19:17:21" for example...

Now - the objective of all of this was to make it a bit more friendly,
initially I wanted this format "dd/MM/yyyy HH:mm" - so just losing the
seconds - so I tried this:

lblProfileLastU pdated.Text = "last updated " &
User.ProfileLas tUpdated.ToStri ng(" <-- the intellisense at this point
displays and I get a the following in the box

Chars (index As Integer) As Char
index:
A character position in this instance.

Now - here's where it gets even more fruity....

If I type this:
lblProfileLastU pdated.Text = "last updated " &
User.ProfileLas tUpdated.ToStri ng().ToString( <-- the intellisense at this
point displays and I get two options...

I can have .ToString() which says it just returns the instance of a string
and no conversion is made, or
I can have .ToString(provi der as System.IFormatP rovider)
"Provider: (reserved) An System.IFormatP rovider that provides culture
specific formating information."

I hope all of this makes some sense to you - as at no point does it seem
happy to just do this:

lblProfileLastU pdated.Text = "last updated " &
User.ProfileLas tUpdated.ToStri ng("dd/MM/yyyy HH:mm")

as I would have liked and expected...
User.vb

Imports Microsoft.Visua lBasic
Public Class User
' class variables
Private _userID As Integer
Private _userForename As String
Private _userSurname As String
Private _userEmailAddre ss As String
Private _userPermission ID As Integer
Private _userPermission Name As String
Private _userUsername As String
Private _userProfileLas tUpdated As Date
' instantiate
Public Sub New()
End Sub
' properties
Public Property ID() As Integer
Get
Return _userID
End Get
Set(ByVal value As Integer)
_userID = value
End Set
End Property
Public Property Forename() As String
Get
Return _userForename
End Get
Set(ByVal value As String)
_userForename = value
End Set
End Property
Public Property Surname() As String
Get
Return _userSurname
End Get
Set(ByVal value As String)
_userSurname = value
End Set
End Property
Public ReadOnly Property FullName() As String
Get
Return _userForename & " " & _userSurname
End Get
End Property
Public Property EmailAddress() As String
Get
Return _userEmailAddre ss
End Get
Set(ByVal value As String)
_userEmailAddre ss = value
End Set
End Property
Public Property PermissionID() As Integer
Get
Return _userPermission ID
End Get
Set(ByVal value As Integer)
_userPermission ID = value
End Set
End Property
Public Property PermissionName( ) As String
Get
Return _userPermission Name
End Get
Set(ByVal value As String)
_userPermission Name = value
End Set
End Property
Public Property Username() As String
Get
Return _userUsername
End Get
Set(ByVal value As String)
_userUsername = value
End Set
End Property
Public Property ProfileLastUpda ted() As Date
Get
Return _userProfileLas tUpdated
End Get
Set(ByVal value As Date)
_userProfileLas tUpdated = value
End Set
End Property
' methods
End Class

DataAccess.vb (note I've stripped out all the methods that were not related
to the poplation of the User.vb class)

Imports Microsoft.Visua lBasic
Imports System.Data
Imports System.Data.Sql Client
Public Class DataAccess
' class variables
Private _homeMovieDatab aseConnectionSt ring As String
' instantiate
Public Sub New(ByVal connectionStrin g As String)
_homeMovieDatab aseConnectionSt ring = connectionStrin g
End Sub
' methods

Public Function GetUser(ByVal username As String, ByVal password As String)
As User
' declare variables
Dim Connection As SqlConnection
Dim Command As SqlCommand
Dim Parameters As ArrayList
Dim DataAdapter As SqlDataAdapter
Dim DataTable As DataTable
Dim User As User
' create new instances of our objects
User = New User
Parameters = New ArrayList
' add parameter to parameters
Parameters.Add( New SqlParameter("@ Username", username))
Parameters.Add( New SqlParameter("@ Password", password))
' create new instances of our objects
Connection = GetConnection()
Command = GetCommand(Conn ection, "GetUserByUsern ameAndPassword" ,
CommandType.Sto redProcedure, Parameters)
DataAdapter = GetDataAdapter( Command)
DataTable = GetDataTable()
' execute command and fill data adapter
DataAdapter.Fil l(DataTable)
' check to see if we returned a row
If DataTable.Rows. Count > 0 Then
' populate
User.ID = DataTable.Rows( 0).Item("UserID ")
User.Forename = DataTable.Rows( 0).Item("UserFo rename")
User.Surname = DataTable.Rows( 0).Item("UserSu rname")
User.EmailAddre ss = DataTable.Rows( 0).Item("UserEm ailAddress")
User.ProfileLas tUpdated = DataTable.Rows( 0).Item("UserPr ofileLastUpdate d")
User.Permission ID = DataTable.Rows( 0).Item("Permis sionID")
User.Permission Name = DataTable.Rows( 0).Item("Permis sionName")
User.Username = DataTable.Rows( 0).Item("LogonU sername")
Else
' clear object
User = Nothing
End If
' tidy up
Parameters = Nothing
Command.Dispose ()
Command = Nothing
Connection.Clos e()
Connection = Nothing
' return result
Return User
End Function

Public Function GetUser(ByVal userID As Integer) As User
' declare variables
Dim Connection As SqlConnection
Dim Command As SqlCommand
Dim Parameters As ArrayList
Dim DataAdapter As SqlDataAdapter
Dim DataTable As DataTable
Dim User As User
' create new instances of our objects
User = New User
Parameters = New ArrayList
' add parameter to parameters
Parameters.Add( New SqlParameter("@ UserID", userID))
' create new instances of our objects
Connection = GetConnection()
Command = GetCommand(Conn ection, "GetUserByUserI D",
CommandType.Sto redProcedure, Parameters)
DataAdapter = GetDataAdapter( Command)
DataTable = GetDataTable()
' execute command and fill data adapter
DataAdapter.Fil l(DataTable)
' check to see if we returned a row
If DataTable.Rows. Count > 0 Then
' populate
User.ID = DataTable.Rows( 0).Item("UserID ")
User.Forename = DataTable.Rows( 0).Item("UserFo rename")
User.Surname = DataTable.Rows( 0).Item("UserSu rname")
User.EmailAddre ss = DataTable.Rows( 0).Item("UserEm ailAddress")
User.ProfileLas tUpdated = DataTable.Rows( 0).Item("UserPr ofileLastUpdate d")
User.Permission ID = DataTable.Rows( 0).Item("Permis sionID")
User.Permission Name = DataTable.Rows( 0).Item("Permis sionName")
User.Username = DataTable.Rows( 0).Item("LogonU sername")
Else
' clear object
User = Nothing
End If
' tidy up
Parameters = Nothing
Command.Dispose ()
Command = Nothing
Connection.Clos e()
Connection = Nothing
' return result
Return User
End Function
Private Function GetConnection() As SqlConnection
' declare variables
Dim Connection As SqlConnection
' create a new instance of our object
Connection = New SqlConnection(_ homeMovieDataba seConnectionStr ing)
' open connection
Connection.Open ()
' return connection
Return Connection
End Function
Private Function GetCommand(ByVa l connection As SqlConnection, ByVal
commandText As String, ByVal commandType As System.Data.Com mandType) As
SqlCommand
' declare variables
Dim Command As SqlCommand
' create a new instance of our object
Command = New SqlCommand
' define command properties
Command.Connect ion = connection
Command.Command Text = commandText
Command.Command Type = commandType
' return command
Return Command
End Function
Private Function GetCommand(ByVa l connection As SqlConnection, ByVal
commandText As String, ByVal commandType As System.Data.Com mandType, ByVal
parameters As ArrayList) As SqlCommand
' declare variables
Dim Command As SqlCommand
Dim Parameter As SqlParameter
' create a new instance of our object
Command = New SqlCommand
' define command properties
Command.Connect ion = connection
Command.Command Text = commandText
Command.Command Type = commandType
' add parameters
For Each Parameter In parameters
Command.Paramet ers.Add(Paramet er)
Next
' return command
Return Command
End Function
Private Function GetDataAdapter( ByVal command As SqlCommand) As
SqlDataAdapter
' declare variables
Dim DataAdapter As SqlDataAdapter
' create a new instance of our object
DataAdapter = New SqlDataAdapter( command)
' return data adapter
Return DataAdapter
End Function
Private Function GetDataTable() As DataTable
' declare variables
Dim DataTable As DataTable
' create a new instance of our object
DataTable = New DataTable
' return data table
Return DataTable
End Function
End Class
May 23 '06 #10

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

Similar topics

9
12938
by: Alok yadav | last post by:
i am using a webservice in which a method is serach. i use this method which accept a argument of date type in dd/MM/yyyy formate. i have a textbox which accept the date from the user, when i convert textbox data into Datatime formate it converted into MM/dd/yyyy formate, but i have a requirement in dd/MM/yyyy formate. please help me, i am using c#.
2
6995
by: savigliano | last post by:
hello, i am doing a date comparation and i have reallize that the data i have in my database (general date format) it is causing me problems, and because i don´t need the time data i would like to convert all the general date data into short date format, so i would like to delete the time part of the data, it is any way i can do that ???? Thank you in advance and sorry for my english carlos
6
34077
by: marc | last post by:
hi im trying to convert Date() into a unix timestamp so i can stick the result into a mysql db, please help!
5
1966
by: c_shah | last post by:
I have a string in this format 100106 what is the most efficient way to convert it to a date like 10/01/2006 thanks.
3
2806
by: zshenk | last post by:
I need help converting dates. Currently, I have several tables and databases that use the format 1/20/2007. I have a table right now that uses the 20070120 format, and I was hoping that someone could help me convert this. Thanks!
2
11147
by: Brian Parker | last post by:
I am beginning to work with VB2005.NET and I'm getting some problems with string formatting converting an application from VB6. VB6 code:- sTradeDate = Format(pArray(4,i Record), "mmddyy") pArray is a variant array containing a date string at pArray(4, iRecord) in the format "yyyy/mm/dd"
3
7145
by: Jef Driesen | last post by:
How can I convert a date string to a number (e.g. a time_t value or a tm struct)? I know about the strptime function, but then I have to know the format string. And that is a problem. I'm trying to autoformat the contents of text entries in a GUI. For numbers, I'm converting the text representation to the appropriate type (using atoi, atof, ...) and converting the result back to text with the correct format (using sprintf). But this does...
18
13025
by: Dirk Hagemann | last post by:
Hello, From a zone-file of a Microsoft Active Directory integrated DNS server I get the date/time of the dynamic update entries in a format, which is as far as I know the hours since january 1st 1901. For Example: the number 3566839 is 27.11.07 7:00. To calculate this in Excel I use this: ="01.01.1901"+(A1/24-(REST(A1;24)/24))+ZEIT(REST(A1;24);0;0) (put 3566839 in field A1 and switch the format of the result-field to the corresponding...
2
4717
by: stainless | last post by:
I know this is probably simple but I cannot find a method of converting a date string into a format that matches the DatePicker format in C# eg string "20080131" converted to "31 January 2008" I tried datetime.parseexact but could not find the definition for the appropriate format string. This would be a very useful tool fo me. Any ideas,please?
4
4381
by: gubbachchi | last post by:
Hi, I have an issue regarding the php date format. I choose the date from date-picker which is in the format date('Y-m-d') i.e. 2008-09-12, then I will store this date in the variable $date_id and send this date to different php pages and I need to print the date from $date_id variable in the format date('d F Y') i.e. 12 september 2008. How can I do this using php date functions WIth regards
0
7985
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7896
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8393
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8048
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8263
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
5848
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5438
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3896
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2411
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 we have to send another system

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.