« first day (1315 days earlier)      last day (2834 days later) » 
07:00 - 16:0016:00 - 00:00

7:05 AM
@Julien because I need to have the index of the selected element to retrieve it into the collection when needed
@Alex the fact is that, using SelectedIndex and after window correctly loaded, the event of selection changed is raised in the right way when I change the SelectedIndex in ViewModel
The question is: why after InitializeComponent() method the ComboBox_SelectionChanged() event could not be raised? when the event starts to be available for raising?
 
7:40 AM
Or, I can give you another question: when do I need to instantiate the ViewModel? or where? In the window constructor or after the window constructor (that is, after the window constructor method calling, before the show()) ?
 
67
Q: What is a ViewModelLocator and what are its pros/cons compared to DataTemplates?

RachelCan someone give me a quick summary of what a ViewModelLocator is, how it works, and what the pros/cons are for using it compared to DataTemplates? I have tried finding info on Google but there seems to be many different implementations of it and no striaght list as to what it is and the pros/co...

@FrancescoDS Check the last answer for an example.
Functionality should not depend upon the place and time you create the VM, anytime you set the Window's DataContext to a new VM, the view should refresh correctly. If it doesn't, check your bindings.
 
So I could change the question in: when to set the DataContext of a window?
The problem is not about refreshing strictly, but on initialize the window with data correctly
 
@FrancescoDS When the data context changes doesn't matter either, you should check what happens when the DataContext changes and why the UI is not initialized with data correctly.
 
7:55 AM
hey
@FrancescoDS why did you need the subscription to SelectionChanged in the first place ?
 
@franssu because I have a method that is raised after SelectionChanged that does some calculation
 
some calculation based on the datacontext ?
 
Hi guys
any winform developer here who can help me with this question:
1
Q: Display new entry at the top on combobox selection event with lines separating each new entries

LearningI have 1 combobox control in which I have lots of countries. Now on this comboxbox selection I want to display something like this: Note:Latest Selection should always comes first that is at the top. Each time any country is selected I want to create entry in this control and this entry shou...

 
8:13 AM
@franssu yes, inside it I call another method of the same class, that is not possible to call inside the ViewModel...maybe I need to move it in some way...but I think it is hard to do it because in the method, for example, I draw something in a Canvas, and Canvas is not visible in the ViewModel
 
hey all. In my sql code, I have something like
SELECT dbo.Book.Title, dbo.Book.description, dbo.Book.Quantity, dbo.Book_Genre.genre AS Expr1
FROM dbo.Book INNER JOIN
dbo.Book_Genre ON dbo.Book.Genre = dbo.Book_Genre.id

And that shows a neat table. Now how do I show that in C# on a datagrid? like I have
dataGrid.ItemsSource = (from s in truTextsDB.Books select s).ToList();
and that shows all the information. But I only want to show the stuff from the view I made in SQL. How would I go about doing this?
Because my book also has a column for other stuff such as supplier etc. But i just want a custom made table without all that extra stuff.
 
@FrancescoDS in MVVM, code-behind should be only used to treat view related problems
 
@franssu do draws in Canvas is not about view?
 
it's expected for your canvas not to be visible from your viewmodel
if you're trying to find a way to draw on the canvas from your viewmodel, you're doing something wrong
 
Yes, infact I do not
but I need to initialize the Canvas with some drawings
Data about the drawings are inside ViewModel
 
8:27 AM
why not use bindings ?
 
Never tried to bind something for a canvas
 
I never write code-behind
@betarunex you could use an anonymous type
(from s in truTextsDB.Books select new { xx = s.XX })
 
@franssu if I wanted 2 columns, how would I do that? because that just returns a single column?
 
(from s in truTextsDB.Books select new { xx = s.XX, yy = s.YY })
@Learning if it's the first time you write winform, my advice is to keep things very simple and straightforward
 
8:43 AM
@franssu Genius. Thanks. Works like a charm.
 
9:02 AM
@franssu hey. still here?
 
yep
 
great. I want to also know how to do that in another way, where i created the view. and use it in c# (EF). It's named Books_View, but For some reason, when I say

dataGrid.ItemsSource = truTextsDB.Books_views.ToList();

My code crashes?

error:
An exception of type 'System.Data.Entity.Core.EntityCommandExecutionException' occurred in EntityFramework.SqlServer.dll but was not handled in user code

Additional information: An error occurred while executing the command definition. See the inner exception for details.
 
what does the inner exception say ?
 
@franssu What is the inner exception?
 
9:13 AM
@franssu Oh. Says invalid object name "Books view"... but there is an object named that... spelled correctly too
 
is there a "Books view" field in multiple tables ?
 
@franssu nope. Just this. imgur.com/sTwzwng
the tables only have fields like "Book" or "BookID". Books_views is a view table on it's own that I imported from SQL
 
sorry, I don't know much SQL
 
9:29 AM
Guys is it possible to draw line in between the records in listbox?
but i want line after each insert
 
@franssu Damnit. Thanks anyway. I'll just use the other method you showed me for now
 
 
4 hours later…
1:01 PM
@Maverik Ahh, right on (east coast) time...
 
Good morning!
 
hi everyone
referring to my previous question here (I don't know how to insert a reference of my previous...), now my question is: why when I call the Show() of the window, the SelectionChanged() event of the combobox is raised?
is it because of UpdateSourceTrigger=PropertyChanged inside the ItemsSource declariation in the XAML?
 
Good morning guys!
 
Elo!
@LynnCrumbling that can't possibly be a healthy thing for somebody supposedly living in london xD
 
1:17 PM
was anyone of you in Gode Jam?
 
@FrancescoDS because its reassigned
 
I'm working on a way to edit data easily.
Changing one item is simple, but I'd like to support changing multiple items at once.
It's easy enough with code, but I was wondering if there was some clever binding I could use?
I did consider using a converter to do the trick.
 
@Maverik that means that in the Show() the XAML is loaded and because the index of the combobox is set, the SelectionChanged() is raised...right?
 
@FrancescoDS that'd be my guess.. I dont use events myself so i can be wrong
@WilliamMariager I didn't follow the question, are you trying to do like mass mp3 tagging kinda thing :D
 
Maybe :P Not sure what that is.
 
1:21 PM
amagawd!!
 
But like, I want to be able to select n items and if I change the GLN, it'll change for all selected items.
 
somebody who doesn't know mass mp3 tagging :D
yes thats exactly what goes on in typical id3 tag editing software
curious.. how do you do it in code?
 
In code, I'd just respond to the field being changed and then update it for all selected items.
 
while your code may have potential to be improved.. that is the right way imho
 
I just think it'll get very spaghetti fast. :P I have hundreds of fields I need to give this behavior. And what if I want to change something?
I think I'll give abusing ValueConverters a go ... :P
 
1:25 PM
as I said.. i'll focus on improving the code you have for doing this than abusing binding
for starters how are you tracking which items to update in multi-selection?
 
I just use .SelectedItems in the listbox.
 
which means you're bound to view
instead you could using IsSelected binding on ListViewItem to defer it to view model
once thats done, you could use a simple Collection.Where(x => x.IsSelected).ForEach()
for the update part
in terms of actual update, you could pass in a lambda to a generic method that takes a value of type T to assign to Expression Property
once thats out of the way, you now have a generic way of doing all this and you call it like INPC boilerplate code
 
Alright. So first, I wrap my existing data in ListViewItem using the Tag field?
source = task.Result.Select(o => new ListViewItem { Tag = new TradeItemDependencyObject(o) });
Something like that?
 
I don't think so
 
ah no.. you use an implicit style
 
1:37 PM
1
Q: Datagrid combobox getting relativsource to working

omini dataI am using the WPF combobox for filtering the items but i decide to put it in my datagrid instead but i can't get it to work probably in their i can only get it to work when is outside of the datagrid. I think the problem is because RelativeSource={RelativeSource FindAncestor, ...

 
<Style TargetType={x:Type ListViewItem}>
    <Setter Property="IsSelected" Value="{Binding IsSelected}" />
</Style>
throw that into ListView.Resources
 
So I guess first step is to swap out ListBox with ListView? :P
 
that'd be a good idea
brb
 
@Maverik Sounds perfectly reasonable to me...
 
Alright. So I think I made the changes you suggested.
My TradeItemDependencyObject has an IsSelectedProperty which is updated when I change the view.
And I can now do databaseItems.Where(o => o.IsSelected) as you suggested.
 
1:56 PM
William, how long have you been working with WPF and MVVM ? in general
 
Not a whole lot. I know how to make it do what I want, but I don't know the right way to make it do what I want.
 
ok.. DependencyObject is a very heavy weight item for what you're trying to do
 
just use INotifyPropertyChanged to have the same effect on items (as in change propagation)
your objects will normal POCO objects that get bound to View
 
Alright, I'll do that. I guess that'll reduce the amount of code I have to write as well.
 
1:59 PM
and you implement INPC on top of that
yea.. a bit less boilerplate
the real magical code is the bit that I'm a bit stuck on too.. the voodoo of Expression<Func<T>>
@WilliamMariager here's the magic sauce
    public static class Extensions
    {
        public static void SetPropertyValue<TClass, TProperty>(this TClass @class, Expression<Func<TClass, TProperty>> property, TProperty value)
        {
            var memberExpression = property.Body as MemberExpression;
            var pi = memberExpression?.Member as PropertyInfo;
            pi?.SetValue(@class, value);
        }
    }
and you use it as such:
var test = new TestClass();
test.SetPropertyValue(x => x.TestProperty, "Yatta!");
I trust you can use the above example to expand on
 
2:16 PM
That's actually pretty clever.
 
lol i mixed up the code :D
do you need me to expand the collection extension?
 
No that's fine.
 
or you can take it from here and build another expression based override
cool :)
Credit to the original source of voodoo from Master Marc Gravel
69
A: Property selector Expression<Func<T>>. How to get/set value to selected property

Marc GravellThe parameter would be an Expression<Func<Customer,string>> selector. Reading it can be via flat compile: Func<Customer,string> func = selector.Compile(); then you can access func(customer). Assigning is trickier; for simple selectors your could hope that you can simply decompose to: var pro...

I couldn't figure out how to get SetValue out of the damn memberexpression :D didn't realise it was a PropertyInfo that needed a cast :D
 
Hehe
I swear, the elvis operator is godsend :P
It just makes everything so much cleaner.
 
xD
 
2:23 PM
databaseItems.Where(o => o.IsSelected).SetPropertyValue(o => o.GTIN, gtin);
That sure cleans it up :P
 
no no
 
lol no, it'll try to set value on Expression of type Where<IEnumerable>
that'll fail
SetPropertyValue operates on per class
you could throw it into a foreach
 
public static void SetPropertyValue<TClass, TProperty>(this IEnumerable<TClass> @class, Expression<Func<TClass, TProperty>> property, TProperty value)
{
    var memberExpression = property.Body as MemberExpression;
    var pi = memberExpression?.Member as PropertyInfo;
    foreach (var item in @class)
        pi?.SetValue(item, value);
}
 
foreach(var item in databaseItems.Where(o => o.IsSelected)
    item.SetPropertyValue(x => x.GTIN, gtin);
oh that's umm.. interesting xD
I guess that can work :D
yea that's the sort of override i had in mind indeed :)
you may want to rename @class to may be @classes ?
@class is confusing :P
 
2:28 PM
@FrancescoDS that doesn't make sense. if you bind to SelectedItem, you have the item in the collection without needing any indexes
 
I appreciate the help @Maverik.
So even if I do the whole codebehind deal, it's still not too messy.
Next step is adding validation to the fields.
 
if you take the codebehind approach, you wont get much help
most of wpf'ers will expect you following mvvm as a pre-req before they dive into your code to help
 
Hi guyd
 
mav speaks the truth
 
But mav also agrees that it's the best approach :P
 
2:33 PM
Mav is the one truth.. the only truth!
eh code behind? I despise code behind :P
I normally ignore posts that involve code-behind
it wastes far too much time
 
@Maverik sir you once suggested me to use unity
 
1 hour ago, by Maverik
while your code may have potential to be improved.. that is the right way imho
 
code... in ViewModel
it was my assumption, you were following MVVM
as i said, everybody that's will to help will have the expectation & assumption
if you had actually said you've thrown it all in code-behind I would have gone back to my work :P
 
Psh, I barely know what that's an abbreviation for. (j/k)
 
Learning.. yes I did mention it
but I've never used it myself, so no i can't help you
 
2:35 PM
But no, seriously, I'm trying to do MVVM, but I'm completely self thought, so I have plenty of bad habits to work out.
 
thats fine, most of us started that way
yea take the polite nudge to fix it before it comes to hard knocks :)
 
I think all of us may have?
 
@Learning, Check out gamedev.stackexchange.com. That's my home realm. Plenty of Unity supporters there.
 
there you go Learning.. today is your lucky day :D
 
If you're not going to follow MVVM you might as well just use WinForms ;)
 
2:37 PM
@Maverik but can you suggest me like if you have to do this what will be your approach
 
Learning, I've already told you what I'd look at
pinging me over and over isn't going to help
this is a low traffic room. You don't normally need to thread conversations in here (not that you are even threading)
 
sorry but I just wanted to know how you guys approach on any task
How you decide that what technology should be used so that this task can be done with maximum efficiency
I just wanted to learn that
But I am really sorry if I have bother you
 
You analyze your needs, and pick the tool best suited to solve those needs.
 
@WilliamMariager sir I totally agree but to be very honest I have just started my professional career so I hardly know all this things
 
@Learning you should have a mentor in real life
 
2:41 PM
That I why I am here to take suggestions from experienced and skilled developer's like you amd all guys here
 
franssu, not all of us are lucky and have good managers. managers that say one thing but are actually the complete opposite.
this chat room is real life. the chains Mav has on Stefan are real life. THIS IS MY LIFE! ;)
 
lol
I don't get it, it's easy to find a programming job, if you don't have a good manager, why don't you just quit ?
 
Is it that bad to take suggestions if you are learner?
 
lol don't scare people away
 
I'm my own mentor. Exciting to see how that turns out. ;)
 
2:43 PM
don't want my dungeon to go empty
 
i'm sort of kidding. i have nothing to do with WPF anymore besides try to help others and hang out with you guys. you guys should all move to embedded development
 
Learning: no you need an experienced on-site developer who can guide you
 
Learning, First thing you have to realize is that everyone is different and people do things differently.
 
the fact that you're doing animated circles as your job application makes me question your setup
 
@franssu in USA, jumping jobs is frowned upon... makes it look like you are weak
 
2:44 PM
Either you're in the wrong role or you're in the wrong office
 
Even perceived professionals have habits or opinions that are wrong.
So whatever someone tells you, look it up yourself and find the pros and cons.
Unless you're in a company with specific guidelines, then you follow those of course.
 
Kevin, I haven't done any wpf in years either :( -- it scome down to asp.net core webapi stuff these days .. never thought I'd say something asp.net related
 
Actually, of out college, I applied at my current employer and they rejected me because I didn't go to a "big name school", so i took another job and worked there for 3 years, only to apply at my current employer again and I got the job. Funny how that works.... but at both companies, I haven't had a good mgmt experience.
 
William has just offered you a very golden advice :)
 
Though I've already pondered looking elsewhere than staying here for 3 years and "dealing with it" this time around.
 
2:46 PM
Learning: you're too new to things - you really shouldn't do the app you're about to do
that's the advice a slightly more experienced developer can give you
pick something Line of Business oriented
(I'm not even sure what is the objective that you're trying to achieve.. what's the real learning target?)
 
Can I only add validation through bindings?
 
@Maverik sir actually the problem here is I always get very complex projects to work on and nobody helps me when I am stuck anywhere
SO is my only friend to help me sometimes
 
no William, there's IDataErrorInfo to implement that can give you validations too
@Alex has been diving into this and may have fresh ideas
 
I have to do everything on my own
 
Learning: that's true for most of us.. but that's what makes us better developers.. lone wolves are the strongest wolves ;)
its normal
someday you'll be thankful to the people making you do everything by yourself
 
2:53 PM
I gets demotivated when I am unable to finish such task
I agree with you but sometimes I gets scared that I am not able to do anything
 
ignore the circles thing you are planning to do
if thats an option
tell us what you're actually supposed to do
i doubt any company hired you to make a circles based screensaver replica
 
Sir I am an mvc developer
 
you don't have to "sir" any of us :) we're all equals in the professional life
 
And my boss can make me do any work
 
varying experiences but still .. equals :)
mvc developer.. so you're a web developer then?
 
2:55 PM
And I have to do it
Like for eg this task
Yes
 
find a new job.. that's a sincere advice.. i think others in the room can agree
only shitty companies with very small staff put you in a position where you're expected to do everything
 
You are absolutely right
 
it just shows their severe lack of understanding and knowledge of the field
you can't learn WPF in a few days or weeks even
 
I have done this task when whem client used this it hangs the client browser
 
then may be you should learn some async tricks
 
2:57 PM
And memory consumption was too high when I have done this task with html jquery css
 
perhaps learn canvas api better?
 
Yeah in javascript lots of users suggested canvas
 
but you're still in the wpf room?
 
And I have tried canvas too amd have got better performance with it
 
I mean, its not that we shun mvc developers or anything, but we're not the right fit for your purpose
how did you learn mvc?
how many years have you spent in the mvc world?
 
3:00 PM
@Learning learning takes time. Just make sur you have quality learning material, mix theory and practice. Target small, achievable things. When facing complex tasks : just don't do them.
 
I have not constantly got to work on mvc project
I havr always got to work on different different technologies
 
ahh is this still the bubbly screensaver thing?
 
yea
 
That is why I have been like jack of all but master of none
Right now I am working on winform
 
either do winform or do wpf.. but dont do both
Since you're already experienced on the web side of things
try to do this: freecodecamp.com
very active community and there's a bright chance you can find some mentors in your local area
they're using node.js / angular.js stack so I imagine you'll be comfortable
once you've got that down, stick with it for as many things as you can. and for desktop stuff, stick with WinForms
WPF is a full-time learning job and takes months at least before you really get the hang of it
as a bonus, you may be able to get a job from that camp too
 
3:07 PM
Yes I have work little bit on angular ja too
Thank you so much for the link
 
learn a full stack
that's the most important thing
 
You guys are really really so damn helpfull
Honestly
 
the above link will teach you full stack so you can handle anything thrown your way in javascript related world
 
Trying to get my terms right. I have a database, that's my Model. Then I have a class that interacts with the database, where I can read/write. That's my ViewModel. And then my MainWindow is my View.
 
@Maverik I've implemented INotifyDataErrorInfo with bindings, such that errors are for properties in the view model
 
3:09 PM
each database Item is a Model
database itself is the Repository (in repository pattern)
 
As my late, great professor used to say, it's a non-trivial task :)
 
and the class that interacts is a "service"
 
Alex, William was asking about validation, so I pinged you in
 
No worries :)
 
always best to have opinion from people who have just done it :)
 
3:10 PM
1
Q: Windows 10/IIS 10: Unable to start debugging on the web server. The web server could not find the requested resource

sjors miltenburgI recently got a new laptop with windows 10 pre-installed which comes with IIS 10. Now I'm having trouble debugging two of my older web application (one of them in silverlight, the other one a WebApi project). When debugging the application I get the following error in VisualStudio: Unable t...

 
I've finally gotten a good handle on the validation with bound properties and INotifyDataErrorInfo
 
Also, I've been asked to do this a while back.. and I think it's high time I did it..
 
:)
 
Congratulations on joining the residents team :) well deserved!
 
3:11 PM
Thanks, Maverik
If I only knew a tenth of what you guys know
 
though you've been around long enough to know my GC.Collect() cycle, I'll say the explicitly anyway.. I may remove you from the RO if you go inactive but that doesn't imply you can't come back :)
 
How much experience you have working as software developer?
 
@Alex Alex, I say that everyday when I see Johan's or Reeds code!
 
Fair enough :)
 
Learning: its not important how old are we in software business.. the important question is how long have we worked on a modern technology
we could have 40 years of experience of Cobol and that wouldn't make a dent in todays world
 
3:14 PM
^ That's it. You have to immerse yourself in the tech, take on a project with it. That's how I learn
And then run into questions and research as you go along
 
yea an reiterate the process
 
You learn the basics and good practices to begin with from Google/SO
 
You guys work in a team or alone?
 
Develop (code) -> Bang your head against the wall -> Break the wall (usually with some bleeding) -> repeat cycle
hah no we're all in different parts of the world
but the regulars in here get used to each other's way of talking i guess and we can pick after one another's sentence without confusions :)
 
Team of one here
 
3:16 PM
But honestly when I see some codes of projects I imagine that is this code written by human being
 
is ghost doc normal version paid
I've been using it for quite some time now, but it only asks for upgrading to PRO
which is paid
so is the normal version free to use with the limited functionality??
 
lol i completely mistook that question! Team of 1+1 here
 
omg maybe @Learning is not human
 
Team of one here as well. In fact, just started my own company and working on my first project. :)
 
and I was telling him to meet people IRL
 
3:19 PM
No idea Samy
 
Would that mean it'd electrocute them? Since he exists as electrons.
 
--
oops
 
O.O
@LynnCrumbling your nominee has been added to ROs :)
 
speaking about room owners, when is it ok to kick people out ? :)
 
when you feel like it?
 
3:25 PM
@franssu is that for me?
 
i mean really, it's a last resort thing but its a judgement call
 
of course not @Learning
 
no Learning
I've only ever kicked one person out of the room
generally asking them politely to stop is enough
 
Can you please tell me in what conditions you kick anybody out of this room?
 
we never kick anybody out
 
3:27 PM
but if the person goes aggressive and starts bashing the residents, that's usually where I draw the line
Learning: my simple answer is, when person stops being civil
we're all here volunteering our time from our work
the least people can do is respect that and realise we have our own jobs to take care of and sometimes we just don't have the answers they need / want
 
The people answering questions in this room are volunteers. They have their jobs as well. They give of their time/knowledge here to help folks.
 
as soon as respect is lost, I'll be the first to kick the person out.. its irrelevant whom they were disrespecting.. there's zero tolerance for that
but really, in the years that we've been active on SO, there's only been one such instance
and the person apologized a day later and we buried the hatchet
 
eheh you didn't read all the logs then ;)
 
no not recently
i wasn't on yesterday so I'm guessing thats the context
i just came on today, saw lynns comment about east coast and then random conversation started and i never dug up what happened yesterday :)
I blame my laziness on having active ROs these days that I trust enough to not dig through everything everyday :P
 
Does ObservableCollection check if items are changed, or only if the collection is changed?
 
3:40 PM
items
 
ok I just skimmed through yesterday, i dont spot anything unusual. @franssu do you wanna take this to skype or something?
 
You can add myCollection.CollectionChanged event handler to detect when an item is added/removed
 
no franssu, only if CollectionChanged
 
it's older than that but it's an old story now, just maybe next time I'll take measures to have people respect my authoritaaay... but I'd hate having to
 
@Maverik think back to what was it, Monday? when C# room was frozen. someone used vulgar language, and in an indirect manner, and got flagged by learning. i'm sure if he is asking if we'll kick someone that uses vulgar language or if he'll have to flag the messages.
 
3:44 PM
Flags should mostly be used if no one is intervening. Flags signal the whole network, so it should sort of be a last resort thing.
Not that you shouldn't use flags. But give the locals a chance to handle it first. :)
 
well probably 99% of people saw nothing wrong with the message, so likely the person should have just been blocked by flaggers. instead, flags rose and caused a bunch of ruckus.
my first resort is blocking people... i have like 1 person blocked. i've also realized that everyone is different and to not be so sensitive... usually also helpful in the real world.
 
I'm 1% :D
 
just by hearing conversations between people passing by, i could report harassment every day in the work place if i so choose, but I don't.
 
wow Kevin seriously where are you working
 
i mean, I definitely wouldn't leave the workplace with that same statement that was made, but I also wouldn't run and tattle either. I'd mostly ignore what that person had to say in the future regarding anything in life and they would lose most of my respect for them.
you can take offense to anything. if i'm offended people are talking about presidential candidates negatively in the office, that can be reported as verbal harassment.
in chat, its a lot easier to ignore people than it is in real life, so why not make use of those tools?
 
3:52 PM
people in the C# room think it's open-bar
when you shout profanity you take the risk of being kicked and should accept it
 
i would agree that user should have been banned if he tagged any single person in the post, but he didn't. it was an open statement, and if i don't want to see that kind of message anymore, i'd block him. you can just as easily accidentally go on a reddit thread that ends up being vulgar between 50 users... are you going to report them all or just leave the page?
i'd agree with that franssu
I think he accepted it, but then it turned into "right or wrong" discussion in C# room, and discussing it turned into more flags because someone repeated what was said in the other room.
 
lol
many C# code written that day
 
there was actually still C# question going on during it all
to answer the question, I think if a vulgar word is used, call it out, bring it up for the room to discuss by pinging ROs, and block the person, all before you start raising flags.
 
07:00 - 16:0016:00 - 00:00

« first day (1315 days earlier)      last day (2834 days later) »